Search Results
Is there not a "tolower" method that you can call?
306
You could set the timer to not repeat, and then recreate the timer at the bottom each time it repeats.
647
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.
569
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], '
...
308
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...
312
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.
369
For loops can be infinite, what's causing the crash is what you're using with it.
369
Print the string to console and check the log, see that the SQL code being ran is correct.
423
Code:
stock ApagarPlayerClan(playerid)
{
new Query[100];
format(Query, sizeof(Query), "DELETE FROM `ServerClan` WHERE `clanNome` = %s", GetPClan(playerid));
db_query(gAccounts, Query);
}
423
I'm guessing because the query doesn't contain any resulting information and doesn't need to be freed.
423
You'll need to show us 'RespawnNearbyVehicles'
253
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
414
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.
414
Then either add the armour column to your entry, or set the armour default value in the Db to 0.0
283
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...
543
Код:
float((PlayerInfo[i][pExp]/exp_max)*100);
And when formatting the string, replace '%d' with '%f.0'
393
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);
}
...
498
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...
341
Add
Code:
Delete3DTextLabel(afklable[i]);
Just before
Code:
afklable[i] = Create3DTextLabel(str, COLOR_CYAN, 30.0, 40.0, 50.0, 40.0, 0);
341
Do you have 165 "CarCoords" initialized?
498