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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,820
» Latest member: acesevenfive
» Forum threads: 2,369
» Forum posts: 12,265

Full Statistics

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

Latest Threads
🌆 Final City RPG – Englis...
Forum: Advertisements
Last Post: Beanny
3 hours ago
» Replies: 0
» Views: 15
OLD GAMEMODE 0.3DL
Forum: Gamemodes
Last Post: su109551
Yesterday, 06:59 PM
» Replies: 0
» Views: 34
Layanan cs Floa
Forum: General Discussions
Last Post: bratva
2025-12-31, 01:10 PM
» Replies: 5
» Views: 66
[ZA] ZOMBIE APOCALYPSE. ...
Forum: Advertisements
Last Post: AlCapone
2025-12-30, 12:02 PM
» Replies: 0
» Views: 46
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-12-30, 08:46 AM
» Replies: 2
» Views: 272
After School Roleplay - G...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-29, 09:47 PM
» Replies: 8
» Views: 568
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: NoxxeR
2025-12-29, 08:30 PM
» Replies: 11
» Views: 811
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-29, 12:49 PM
» Replies: 8
» Views: 941
Recompiling for x86_64 or...
Forum: General Discussions
Last Post: moayedboukhachem179
2025-12-28, 02:11 PM
» Replies: 1
» Views: 150
NoxxeR is back, with vide...
Forum: Videos and Screenshots
Last Post: NoxxeR
2025-12-27, 07:18 PM
» Replies: 1
» Views: 101

 
  PlayerTextDrawSetString
Posted by: Torque - 2021-01-02, 02:13 AM - Forum: Pawn Scripting - Replies (2)

I'm having an issue with this function. I have the below code:



Code:
new zone[28];

GetPlayer3DZone(i, zone, MAX_ZONE_NAME);

PlayerTextDrawSetString(i, p_LocationTextdraw[i][1], zone);





The issue is that when it prints it onto the screen, every word is on a new line. I know that a string is meant to be something like "This_is_one_line" but since the 3D Zone string that's produced has spaces instead of underscores, it's difficult to get it to work correct.



Any tips?



Code:
stock GetPlayer3DZone(playerid, zone[], len) //Credits to Cueball, Betamaster, Mabako, and Simon (for finetuning).

{

new Float:x, Float:y, Float:z;

GetPlayerPos(playerid, x, y, z);

for(new i = 0; i != sizeof(gSAZones); i )

{

if(x >= gSAZones[i][SAZONE_AREA][0] && x <= gSAZones[i][SAZONE_AREA][3] && y >= gSAZones[i][SAZONE_AREA][1] && y <= gSAZones[i][SAZONE_AREA][4] && z >= gSAZones[i][SAZONE_AREA][2] && z <= gSAZones[i][SAZONE_AREA][5])

{

? ? return format(zone, len, gSAZones[i][SAZONE_NAME], 0);

}

}

return 0;

}


  Customization for skins (peds and CJ)
Posted by: vico - 2021-01-02, 02:12 AM - Forum: Questions and Suggestions - Replies (1)

  • Be able to set per-skin walking styles (mostly for those who wants to keep the walking style for default peds but fix the peds with rollers);

  • Change CJ (skin ID 0) clothing and stats like fatness and buffness, like MTA does (the function can return a different value if it can't change the clothing/body value due to the player have other ped as a skin).

  • Be able to add CJs with different body stats and clothing in AddPlayerClass.


  YSI/y_ini
Posted by: tootsao - 2021-01-01, 05:48 PM - Forum: Pawn Scripting - Replies (2)

Hello, i have ini login/register?system with y_ini and i want to ask how do i make lime house or vehicle?system that uses?y_ini to save and load?


Question Best way to load data from db using sscanf
Posted by: shane adevaratu - 2021-01-01, 01:48 PM - Forum: Pawn Scripting - Replies (1)

I'm trying to improve the efficiency of the script when logging in and I have a question.

Is there a better method compared to the example below,?to load the data from the database?





Code:
cache_get_value_name( 0, "Table", result_70 ); format( str_70, sizeof str_70, result_70 );

sscanf( str_70, "p<|>iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii",

playerVariable[ playerid ][ pTable ][ 0 ], playerVariable[ playerid ][ pTable ][ 1 ], playerVariable[ playerid ][ pTable ][ 2 ],

playerVariable[ playerid ][ pTable ][ 3 ], playerVariable[ playerid ][ pTable ][ 4 ], playerVariable[ playerid ][ pTable ][ 5 ],

playerVariable[ playerid ][ pTable ][ 6 ], playerVariable[ playerid ][ pTable ][ 7 ], playerVariable[ playerid ][ pTable ][ 8 ],

playerVariable[ playerid ][ pTable ][ 9 ], playerVariable[ playerid ][ pTable ][ 10 ], playerVariable[ playerid ][ pTable ][ 11 ],

playerVariable[ playerid ][ pTable ][ 12 ], playerVariable[ playerid ][ pTable ][ 13 ], playerVariable[ playerid ][ pTable ][ 14 ],

playerVariable[ playerid ][ pTable ][ 15 ], playerVariable[ playerid ][ pTable ][ 16 ], playerVariable[ playerid ][ pTable ][ 17 ],

playerVariable[ playerid ][ pTable ][ 18 ], playerVariable[ playerid ][ pTable ][ 19 ], playerVariable[ playerid ][ pTable ][ 20 ],

playerVariable[ playerid ][ pTable ][ 21 ], playerVariable[ playerid ][ pTable ][ 22 ], playerVariable[ playerid ][ pTable ][ 23 ],

playerVariable[ playerid ][ pTable ][ 24 ], playerVariable[ playerid ][ pTable ][ 25 ], playerVariable[ playerid ][ pTable ][ 26 ],

playerVariable[ playerid ][ pTable ][ 27 ], playerVariable[ playerid ][ pTable ][ 28 ], playerVariable[ playerid ][ pTable ][ 29 ],

playerVariable[ playerid ][ pTable ][ 30 ], playerVariable[ playerid ][ pTable ][ 31 ], playerVariable[ playerid ][ pTable ][ 32 ],

playerVariable[ playerid ][ pTable ][ 33 ], playerVariable[ playerid ][ pTable ][ 34 ], playerVariable[ playerid ][ pTable ][ 35 ],

playerVariable[ playerid ][ pTable ][ 36 ], playerVariable[ playerid ][ pTable ][ 37 ], playerVariable[ playerid ][ pTable ][ 38 ],

playerVariable[ playerid ][ pTable ][ 39 ], playerVariable[ playerid ][ pTable ][ 40 ], playerVariable[ playerid ][ pTable ][ 41 ],

playerVariable[ playerid ][ pTable ][ 42 ], playerVariable[ playerid ][ pTable ][ 43 ], playerVariable[ playerid ][ pTable ][ 44 ],

playerVariable[ playerid ][ pTable ][ 45 ], playerVariable[ playerid ][ pTable ][ 46 ], playerVariable[ playerid ][ pTable ][ 47 ],

playerVariable[ playerid ][ pTable ][ 48 ], playerVariable[ playerid ][ pTable ][ 49 ] );



In database: Varchar, Lenght 70, As defined 0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0


  Happy New Year! :)
Posted by: Pinch - 2020-12-31, 11:29 PM - Forum: Chat - Replies (7)

As the title says, happy new year to everyone here (yeah, including Hual)


  [HELP] Securicar Interior
Posted by: Necmi07 - 2020-12-30, 10:44 PM - Forum: Pawn Scripting - Replies (3)

How can i do this?

I want people when press g and go interior. (Securicar,Enforcer)

I know it, it's possible but i don't know how can i do this.



Thanks.


  [HELP]Turn off FriendlyFire
Posted by: Necmi07 - 2020-12-30, 10:42 PM - Forum: Pawn Scripting - Replies (2)

Hi guys,

I don't want people who are at the same team?cant shoot each other.

Can you help me about that? Thanks.


  In-Game Map Editor
Posted by: Torque - 2020-12-29, 10:28 PM - Forum: Pawn Scripting - Replies (1)

Hey guys, I'm looking for a map editor plugin/filterscript to use in-game, with the ability to remove stock objects and generate a script.



Much regards, Such thanks.


Heart Server crashes when loading Whirlpool plugin
Posted by: Hannes - 2020-12-29, 10:53 AM - Forum: Support - Replies (1)

Type: Server

Operating System: Windows

Server Version: 0.3.7 R2

Plugins Installed: Yes

Plugins (If above is yes): Whirlpool

YSI Included:?No

Output (Logs): https://pastebin.com/vSYMCUpn



Hello!



I've never had an issue with running these plugins before, however when I try to start my server it crashes and outputs the text in the pastebin?to the server log file.



These problems have started occurring after I reinstalled my computer (same version of Windows), and the exact same server folder has never been an issue to run previously.



The same issue occurs if I try to download a new server .rar and install a few plugins which work, but when I try it with Whirlpool, it crashes.



Whirlpool appears to be the only plugin that is making it crash, however I'd like to get it to work properly rather?than having to replace it with a different type of encryption.



I have ran the AIO batch file to install x86 and x64 of?2005 through 2019 of Visual C redistributables, however to no avail (same crash). I have also tried installing the latest?.NET Framework and DirectX end-user runtimes however both of these appeared to have already been installed, probably through the Windows version.



I wanted to check?the SA-MP forums, as I saw a few threads appearing to be about the same issue?when I tried googling, regardless, I didn't get very far, and?this seems to be the new place of things so I'll try my luck here.


  Ayuda con un sistema
Posted by: Lp_ - 2020-12-29, 07:26 AM - Forum: Programaci?n - Replies (2)

Buenas como andan, estoy creando un sistema de emisoras en mi servidor y tengo una facci?n la cual es cnn y quer?a colocarle que los mensajes de cnn se vean solo cuando este dentro del auto escuchando la emisora numero 1, tenia una funci?n para algo as??pero no la entend? mucho, cualquier tipo de ayuda me servir?a y se lo agradecer?a mucho