Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,686
» Latest member: novamuller
» Forum threads: 2,499
» Forum posts: 12,566

Full Statistics

Online Users
There are currently 226 online users.
» 0 Member(s) | 223 Guest(s)
Yandex, Bing, Google

Latest Threads
Scrap Gold Calculator: Th...
Forum: General Discussions
Last Post: novamuller
Yesterday, 12:06 PM
» Replies: 0
» Views: 33
Chipotle Burrito: Everyth...
Forum: General Discussions
Last Post: novamuller
Yesterday, 12:02 PM
» Replies: 0
» Views: 23
Unban
Forum: Chat
Last Post: iAmir
2026-07-05, 02:21 PM
» Replies: 5
» Views: 823
[Announcement] Spawn - An...
Forum: Tech
Last Post: iAmir
2026-07-05, 12:22 AM
» Replies: 1
» Views: 265
Pedestrians
Forum: Plugins
Last Post: iAmir
2026-07-05, 12:18 AM
» Replies: 1
» Views: 289
Silly little render a did...
Forum: Art
Last Post: iAmir
2026-07-05, 12:07 AM
» Replies: 1
» Views: 1,276
Discord Server Unable to ...
Forum: Chat
Last Post: iAmir
2026-07-05, 12:06 AM
» Replies: 1
» Views: 461
It has been a while
Forum: Chat
Last Post: iAmir
2026-07-05, 12:04 AM
» Replies: 1
» Views: 474
GTA San Andreas - The mov...
Forum: Chat
Last Post: ricardofnl
2026-07-04, 11:26 PM
» Replies: 1
» Views: 562
Kalcor is still outta the...
Forum: Chat
Last Post: ricardofnl
2026-07-04, 11:14 PM
» Replies: 2
» Views: 307

 
  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 ...


  This may be deleted.
Posted by: Willcnr09 - 2020-10-13, 06:12 PM - Forum: Pawn Scripting - Replies (1)

This may be deleted.


Photo MY SERVER FERRIS WHEEL
Posted by: vicecity - 2020-10-13, 05:48 PM - Forum: Art - Replies (2)

[Image: vice_city.gif?raw=true]



FERRIS WHEEL lol !!



version 0.3DL custom model


  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/


  San Andreas Skin Rotation
Posted by: Wasay - 2020-10-13, 12:14 PM - Forum: Questions and Suggestions - Replies (1)

Is it possible in open.mp?to make all skins with the same skin rotation? You know, skins like 1, 269,270,271 have a better[faster] rotation and in DM these skins are better for players.


  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]


Rainbow Laser pointer on weapons
Posted by: 3kisde - 2020-10-12, 07:32 PM - Forum: Pawn Scripting - Replies (4)

Hello bros, i want to know if it?s possible to make weapons to have laser pointer, and any idea or help of how to do this, Thank you!


Question 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


  ~SAMP LUFTSCHLACHT REBORN~
Posted by: Palps - 2020-10-12, 01:23 AM - Forum: Videos and Screenshots - Replies (4)

[Video: https://vimeo.com/467203289]