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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,257
» Latest member: 86betshop
» Forum threads: 2,379
» Forum posts: 12,293

Full Statistics

Online Users
There are currently 229 online users.
» 0 Member(s) | 227 Guest(s)
Google, Bing

Latest Threads
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
Yesterday, 04:07 AM
» Replies: 2
» Views: 66
some text appearing in my...
Forum: Support
Last Post: Sizy
2025-07-08, 07:33 AM
» Replies: 0
» Views: 24
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
2025-07-08, 12:13 AM
» Replies: 3
» Views: 3,653
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 41
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
2025-07-05, 11:35 PM
» Replies: 0
» Views: 30
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
2025-07-05, 11:05 PM
» Replies: 2
» Views: 81
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-07-04, 08:35 AM
» Replies: 0
» Views: 62
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,211
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 72
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 446

 
  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]