Search Results
pray to the almighty god
325
Thank you very much i found the issue i was setting float to 'float NOT NULL' now i changed it into 'FLOAT' and it works
91
Hello i am trying to insert into my sql table called groups but i get a warning :
Код:
[Warning] db_query: Query failed: groups.x may not be NULL
what could be the reason? i am not understanding ...
91
Is it possible to set variables values created in gamemode through filterscript like i have this variable PlayerInfo[playerid][Vehicle] in my gamemode then in my vehicle system filterscript i have a /...
147
now it gives me this error
Код:
[Warning] db_query: Query failed: near "1848.758666": syntax error
nvm i fixed the problem the string was small
110
hello i am trying to make a vehicle system with sql my add vehicle command shows me error when i use it
this is the error:
Код:
[Warning] db_query: Query failed: unrecognized token: "'1809.3"
thi...
110
i found out the issue there was an extra '%d'
Код:
format(Query, sizeof Query, "INSERT INTO vehicles (owner, ownerid, price, forsale, model, posx, posy, posz, posa) VALUES (%d, '%s', '%d', '%d', '...
165
i get this error after adding your code and it saves nothing not even the first car
Код:
[Warning] db_query: Query failed: 10 values for 9 columns
This was my code before:
Код:
CMD:aveh(playe...
165
Quote:
Originally Posted by Jefff
Show CREATE TABLE part, also you dont need this VehicleInfo[LoadedVehicles][vID] if `id` is PRIMARY KEY
Код:
db_query(VehicleDB, "CREATE TA...
165
Hello everyone i am trying to make a vehicle ownership system with sqlite i have done it so it save the first car but when ever i try to add more than one car it gives me this error :
Код:
[Warni...
165
i explained this to you on your other topic but it seems like you didnt get it
Код:
new Team_Message1[128];
new Team_Message2[128];
public OnPlayerRequestSpawn(playerid)
{
new pname[MAX_PLAYE...
237
Quote:
Originally Posted by Kaperstone
Because you don't create that table, it has errors
Код:
Static analysis:
1 errors were found during analysis.
A comma or a closing bracket was ...
231
Quote:
Originally Posted by Lucases
Avoid posting if you aren't helping
I think the problem is when you load vehicles
maybe but the real problem is saving the data its not saving in ...
231
Quote:
Originally Posted by ISmokezU
Do you have error logs? If so, Post them.
nothing it compiles perfectly without any errors i think the problem is in /aveh command but i dont know w...
231
Quote:
Originally Posted by DeStRoY232
as i said i don't want to remake it again and again i just wanna get their team like using GetPlayerTeam as same as we do GetPlayerName and just type...
304
Код:
new Team_Message1[128];
new Team_Message2[128];
public OnPlayerSpawn(playerid)
{
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerInterior(playerid, 0);
...
304
hello everyone i am trying to make a vehicle ownership system with sql this is what i have done so far
Код:
#define SCRIPT_CARS 100
new LoadedVehicles = 0;
new DB: VehicleDB;
enum vInfo
{
vOw...
231