| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 214 online users. » 0 Member(s) | 210 Guest(s) Yandex, Applebot, Bing, Google
|
| Latest Threads |
SELL SAMP server developm...
Forum: Advertisements
Last Post: pmemorex2016
49 minutes ago
» Replies: 0
» Views: 6
|
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-03-22, 12:55 PM
» Replies: 13
» Views: 2,776
|
Pawno compiler (pawncc.ex...
Forum: Support
Last Post: PutuSuhartawan
2026-03-20, 11:12 PM
» Replies: 0
» Views: 109
|
[0.3.7 & 0.3.DL] Los Sant...
Forum: Advertisements
Last Post: renza1st
2026-03-16, 05:58 AM
» Replies: 0
» Views: 90
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-03-13, 11:17 AM
» Replies: 0
» Views: 88
|
Atlanta DeathMatch/Team D...
Forum: Advertisements
Last Post: NixaSha
2026-03-10, 04:57 AM
» Replies: 1
» Views: 119
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-03-10, 03:33 AM
» Replies: 0
» Views: 162
|
backtrace
Forum: Questions and Suggestions
Last Post: Lyvex
2026-03-09, 06:32 AM
» Replies: 0
» Views: 113
|
Open Multiplayer ✅ loggin...
Forum: Pawn Scripting
Last Post: walid_dz
2026-03-05, 04:19 AM
» Replies: 0
» Views: 269
|
Argonath RPG SA:MP Reviva...
Forum: Advertisements
Last Post: Melon_Sam
2026-03-03, 06:37 PM
» Replies: 1
» Views: 224
|
|
|
| Problem with ctime |
|
Posted by: Demo - 2020-10-14, 05:06 PM - Forum: Pawn Scripting
- No Replies
|
 |
Hey im using southclaws pawn-ctime version (https://github.com/Southclaws/pawn-ctime) and actually got a problem with my function "WhichDayWillItBe".
It worked fine before with Ryders version.
Function:
Code: stock WhichDayWillItBe(const iDay)
{
? ? new
? ? ? ? tmWhichDay[e_tm],
? ? ? ? thedate[6];
? ? localtime(Time:gettime(), tmWhichDay);
? ?
? ? tmWhichDay[tm_mday] = iDay;
? ? mktime(tmWhichDay);
?
? ? strftime(thedate, sizeof(thedate), "%d.%m", tmWhichDay);
? ? return thedate;
}
Example:
Code: hook OnGameModeInit()
{
? ? for(new i = 0; i < 20; i)
? ? {
? ? ? ? new formdate[6], whichday2;
? ? ? ? whichday2 = -i;
? ? ? ? format(formdate, sizeof(formdate), "%s",WhichDayWillItBe(whichday2));
? ? ? ? printf("Whichday[%d]: %s",i,formdate);
? ? }
? ? return 1;
}
Returns:
Code: [02:49:57] Whichday[0]: 14.09
... working fine till first day of a month but then:
[02:49:57] Whichday[12]: 02.09
[02:49:57] Whichday[13]: 01.09
[02:49:57] Whichday[14]: 00.09
[02:49:57] Whichday[15]: -1.09
[02:49:57] Whichday[16]: -2.09
[02:49:57] Whichday[17]: -3.09
[02:49:57] Whichday[18]: -4.09
[02:49:57] Whichday[19]: -5.09
Im using this to get the last 7 days in dd.mm format, after 01.09 it should actually show 31.08 but returns 00.09 ... -1.09 for me
Hope someone can help me with that.
|
|
|
|
| Question about skin and team ... |
|
Posted by: DaZzY - 2020-10-13, 06:25 PM - Forum: Pawn Scripting
- Replies (12)
|
 |
Hello i have a Gamemode with many teams ... ( TDM )
And i have a team Justice with 3 skin ( cops , swat , army )
I want army skin have a different spawn position not like cops and swat? ( cops , swat , army are the same teams )
there is some of?my code :
Quote:new const Float:g_SpawnJustice[][4] = {
{-2190.1560, 613.9122,35.1641,116.1742},//
{-2185.8408, 704.4630,53.8906,248.9940},
{-2206.7517, 665.4793,49.4375,175.6908}
};
case 2: { //>>>>>>>>>> THIS case is on OnPlayerSpawn...
? ?
? /
?
? ? ? ? ? ? iRandom = random(sizeof(g_SpawnJustice));
SetPlayerPos(playerid, g_SpawnJustice[iRandom][0], g_SpawnJustice[iRandom][1], g_SpawnJustice[iRandom][2]);
SetPlayerFacingAngle(playerid, g_SpawnJustice[iRandom][3]);
}
I have used?if(GetPlayerSkin(playerid) == 287) army skin and that does'nt work??
Help please :D and i know my english sorry ...
|
|
|
|
| GTA: Underground - El futuro ? |
|
Posted by: Fixedfeed - 2020-10-13, 05:34 PM - Forum: Spanish/Español
- Replies (7)
|
 |
Hola bueno, pues reci?n me entero que existe este mod de GTA, que cuenta con un modo multijugador.
Al parecer es compatible con SAMP, por lo que los modos de juegos ya creados en SAMP se pueden usar en este mismo mod, y trae consigo mas mods, como los mapas de LBC y VC, tambi?n trae armas nuevas y los veh?culos de LBC?y VC, el mod me parece que lleva desde 2017, pero no veo que se le haga mucho caso, a que se deber? ?.
Sinceramente parece una muy buena opci?n, ya que no veo que OPEN MP avance mucho, que opinan ustedes ?
aqu? les dejo la pagina del mod, para que lo vean ustedes mismos:?https://gtaundergroundmod.com/
|
|
|
|
| Help sublime compile on macOS |
|
Posted by: bum - 2020-10-13, 07:01 AM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hi everyone !
My gamemode is compile successfully with windows, but when I use my macOS for compile, it cannot run. I use sublime text for compiling, I?have installed PAWN plugin, edited sublime-build file but it still not working.
My build file:
Code: {
"cmd": ["./pawncc", "$file", "-iinclude", "-o$file_path/$file_base_name", "-;", "-(", "-d3"],
"file_regex": "(.*?)[(]([0-9]*)[)]",
"working_dir": "/Users/mba0204/Desktop/Folders/Source/Bumios/Project/Gaming/GGMP/pawno/",
"selector": "source.pwn"
}
The error logs:
Code: [Errno 2] No such file or directory: './pawncc'
[cmd: ['./pawncc', '/Users/mba0204/Library/Application Support/Sublime Text 3/Packages/User/GGMPBuild.sublime-build', '-iinclude', '-o/Users/mba0204/Library/Application Support/Sublime Text 3/Packages/User/GGMPBuild', '-;', '-(', '-d3']]
[dir: /Users/mba0204/Desktop/Folders/Source/Bumios/Project/Gaming/GGMP/pawno]
[path: /Users/mba0204/.rvm/gems/ruby-2.5.1/bin:/Users/mba0204/.rvm/gems/ruby-2.5.1@global/bin:/Users/mba0204/.rvm/rubies/ruby-2.5.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/mba0204/.rvm/bin]
[Finished]
|
|
|
|
Help with animation |
|
Posted by: GeorgeXCarl - 2020-10-12, 10:38 AM - Forum: Pawn Scripting
- Replies (4)
|
 |
please help me with the ApplyAnimation because when i want to do the animation it keeps me freeze even if i didn't set the ApplyAnimation to freeze player when animating
|
|
|
|
|