Search Results
Can you show sample output from the select * from users SQL statement? It looks syntactically correct on the sscanf and you aren't touching the other parts of your enum so they should be unaffected.
116
Quote: Originally Posted by maddinat0r No, because the default GCC compiler is on version 4.1.x. R39-2 requires at least GCC 4.4.x (and R40 will require GCC 4.7/4.. What does the roadma...
95,795
The number of people using the old plugin is astonishing.
95,795
You'd have to allow the player to set their own distance variable (i.e. PlayerData[playerid][playerWhisperDistance]).
145
Quote: Originally Posted by Jennifer I got an error after I updated to new MySQL plugin. How do I fix this? undefined symbol "mysql_ping" Код: stock ConnectMySQL() { dbHandle = mysq...
134
See if this helps any. You don't really need strval for moneyvariable: pawn Код: CMD:richlist(playerid, params[]){    #pragma unused params    mysql_query("SELECT `username`, `money` FROM `da...
219
Just so I understand you (and correct me if I'm wrong on any item): 1) If a player picks up a tiki you want to populate a variable as 1. 2) When the player disconnects, you want to save all the tikis...
149
Quote: Originally Posted by Baltimore And it does it all the time, it's 2 in 2 Can you help me please? What does the database data look like? Post a screen cap including the fields....
258
Quote: CMD:ma(playerid, params[]) { new action[20], quantite; if(sscanf(params,"s[20]d",action,quantite) { SendClientMessage(playerid, -1, "/ma <actions> <...
106
Quote: Originally Posted by Banditukas Why this plugin is usefull and what means IRC in sa-mp? IRC is a common chat platform known as Internet Relay Chat. This plugin allows you to con...
20,444
You're better off using known regex's to determine if the entered email address is valid before sending a test email to it.
199
Quote: Originally Posted by MJ! Hey maddinat0r. Can you tell me how can I download libmysqlclient_r.so.16? Because I get the next error: Failed (libmysqlclient_r.so.16: cannot open shared ...
95,795
I use something similar to the others: Quote: new scfmString[250]; #define SCM SendClientMessage #define SCFM(%1,%2,%3) format(scfmString,sizeof(scfmString),%3), SCM(%1,%2,scfmString) ...
704
Quote: Originally Posted by Adarsh007 i have a gamemode which have IRC feature i am using mibbit and already registered nickname and channel but i have some thoughts what to put in the scr...
77
You should probably use: if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) otherwise you're allowing an rcon'd admin to execute the command while he's a passenger.
111
Quote: Originally Posted by Stinged Well defines are always faster. They are but you never said why. Quote: Originally Posted by Anzipane A #define is a pre-processor direc...
169
Quote: Originally Posted by Abagail I don't know if this is true or not but it seems like SA-MP in whole is dying even though I thought it was increasing not that long ago. GTA V is proba...
497
Quote: Originally Posted by Latron In general, try to connect new plug-in and then the error C:\Users\Лев\Desktop\Сервер\gamemodes\NevadaSQ.pwn (1256) : error 035: argument type...
95,795
Are your includes up to date? That'd be my guess. Otherwise per the wiki your use of the functions are correct.
71
Your for loop inside the if() is missing brackets encasing the functions. You also won't need the return 1; since you have one at the end of the function.
111