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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 8,049
» Latest member: moizz
» Forum threads: 2,487
» Forum posts: 12,504

Full Statistics

Online Users
There are currently 152 online users.
» 0 Member(s) | 150 Guest(s)
Bing, Applebot

Latest Threads
Temu Coupon Code ["A$100 ...
Forum: Tech
Last Post: moizz
24 minutes ago
» Replies: 0
» Views: 1
Temu Australia Coupon Cod...
Forum: Tech
Last Post: moizz
25 minutes ago
» Replies: 0
» Views: 2
[Australia] Temu Promo C...
Forum: Tech
Last Post: moizz
27 minutes ago
» Replies: 0
» Views: 2
How To Get Temu Australi...
Forum: Tech
Last Post: moizz
29 minutes ago
» Replies: 0
» Views: 2
[Canada] Temu Promo Code...
Forum: Tech
Last Post: moizz
31 minutes ago
» Replies: 0
» Views: 2
⫅Canada⫆ Temu Discount C...
Forum: Tech
Last Post: moizz
32 minutes ago
» Replies: 0
» Views: 2
Temu Coupon Code Canada [...
Forum: Tech
Last Post: moizz
34 minutes ago
» Replies: 0
» Views: 2
Enjoy {Canada} ⊱ Temu ⌈°C...
Forum: Tech
Last Post: moizz
35 minutes ago
» Replies: 0
» Views: 2
[Canada] Temu Coupon Cod...
Forum: Tech
Last Post: moizz
36 minutes ago
» Replies: 0
» Views: 2
{"Canada"} Temu Coupon C...
Forum: Tech
Last Post: moizz
37 minutes ago
» Replies: 0
» Views: 3

 
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]