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