Search Results
Is there not a "tolower" method that you can call?
128
You could set the timer to not repeat, and then recreate the timer at the bottom each time it repeats.
347
Also make sure you're unbanning the IP from the samp server. Just because it was removed from the database, does not mean they're unbanned.
327
As the warning states, the variable 'admin' is just never used. You could replace all of the 'PlayerInfo[id][AdminLevel]' with 'admin' or just remove the line ' admin = PlayerInfo[id][AdminLevel], ' ...
138
You're placing the hex code in before your @ character. So when it hits the @, it adds the hex code before, sending the @ further down the string, so then it comes across it again over and over. I th...
149
Well since you haven't posted any code, I can only assume you're creating or modifying objects. The for loop does not have a limit, but objects do, hence the 'MAX_OBJECTS' defined value.
192
For loops can be infinite, what's causing the crash is what you're using with it.
192
Print the string to console and check the log, see that the SQL code being ran is correct.
214
Code: stock ApagarPlayerClan(playerid) { new Query[100]; format(Query, sizeof(Query), "DELETE FROM `ServerClan` WHERE `clanNome` = %s", GetPClan(playerid)); db_query(gAccounts, Query); }
214
I'm guessing because the query doesn't contain any resulting information and doesn't need to be freed.
214
I remember some time ago having issues with connections sticking. I had to have a timer run every minute or so to run some arbitrary query to keep the connection going
209
Do you know which table/row that it's reading from during the crash? It might be receiving a bill when it's expecting an integer, or something like that.
209
Then either add the armour column to your entry, or set the armour default value in the Db to 0.0
179
Quote: Originally Posted by Kwarde With MySQL you could do it like this. Le's assume we have three tables: Code: Table `fations`: [ID] [Name] [Owner] 1 MyFaction Kwarde 1 MyFac...
333
Код: float((PlayerInfo[i][pExp]/exp_max)*100); And when formatting the string, replace '%d' with '%f.0'
237
Your code is trying to utilize 165 different "CarSpawns" but you've only initialized 1. Code: public OnGameModeInit() { for(new i = 0; i < sizeof(CarSpawns); i++) { AddCar(i); } ...
239
Agreed with NaS. Create the 3D text only once, update the text accordingly, delete and set the variable to INVALID when player returns, delete and set the variable as INVALID when a player disconnects...
196
Add Code: Delete3DTextLabel(afklable[i]); Just before Code: afklable[i] = Create3DTextLabel(str, COLOR_CYAN, 30.0, 40.0, 50.0, 40.0, 0);
196
Do you have 165 "CarCoords" initialized?
239