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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,641
» Latest member: coladaciren
» Forum threads: 2,347
» Forum posts: 12,286

Full Statistics

Online Users
There are currently 384 online users.
» 0 Member(s) | 381 Guest(s)
Bing, Google, Baidu

Latest Threads
Grand Gang War (GGW)
Forum: Advertisements
Last Post: coladaciren
3 hours ago
» Replies: 0
» Views: 8
u4gm Battlefield 6 Season...
Forum: Art
Last Post: iiak32484
5 hours ago
» Replies: 0
» Views: 11
u4gm Bonestorm Crushes Pa...
Forum: Life
Last Post: iiak32484
5 hours ago
» Replies: 0
» Views: 9
u4gm FC 26 Ultimate Team ...
Forum: Tech
Last Post: iiak32484
5 hours ago
» Replies: 0
» Views: 9
u4gm Battlefield 6 Season...
Forum: Chat
Last Post: iiak32484
5 hours ago
» Replies: 0
» Views: 5
How to Use Sleep Pots for...
Forum: General Discussions
Last Post: BrightNestK
Yesterday, 07:03 AM
» Replies: 0
» Views: 26
undefined symbol
Forum: Portuguese/Portugu?s
Last Post: leobradoks
2025-10-25, 08:58 PM
» Replies: 1
» Views: 1,591
SA:MP Custom Character Li...
Forum: General Discussions
Last Post: Dilshad
2025-10-22, 04:15 PM
» Replies: 0
» Views: 61
Anyone got old rp scripts...
Forum: General Discussions
Last Post: Bilal
2025-10-21, 01:02 PM
» Replies: 5
» Views: 5,278
Anyone has the SARP Gamem...
Forum: Gamemodes
Last Post: Bilal
2025-10-21, 12:59 PM
» Replies: 0
» Views: 106

 
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


  Lights of Tomorrow
Posted by: iPollo - 2020-12-29, 05:53 AM - Forum: Art - No Replies

If possible, please, share one of my works, I would be very grateful :)

[Video: https://www.youtube.com/watch?v=Mw_MFFzf...e=youtu.be]


  [DA-RP - Dark Ages: Medieval Roleplay] Merchant Village (Sneak Peek)
Posted by: Wolfgang - 2020-12-28, 04:08 PM - Forum: Videos and Screenshots - Replies (4)


Quote:"As an effort to enrichen the world and give players exposition to the server's lore and setting, we have come up with a work-in-progress NPC system. These NPCS can be interacted with and react through dialogues;?have day-light and night-time routines as well as specific scripted behaviors (i.e peasants walking on streets, guards patrolling certain areas etc.)"


Video Master servers 0.3.7 not work more?
Posted by: zBreno - 2020-12-27, 10:06 AM - Forum: Support - Replies (1)

[Video: https://www.youtube.com/watch?v=NUMBNkqhsHk]