mysql cars - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql cars (
/showthread.php?tid=619233)
mysql cars -
Capotte - 15.10.2016
hello sorry for my bad English I want to know how to go about identifying me the car key when you will keep
Quote:
new query[200];
format(query, 200, "UPDATE `autos` SET `posx`= %f,`posy`= %f,`posz`= %f,`vangle`= %f WHERE `vllave1` or vllave2` or vllave3` ='%d'", p[0], p[1], p[2], p[3], PlayerInfo[playerid][jSQLID]);
mysql_function_query(TuberiasMySQL, query, true, "OnQueryFinish", "ii", 0, playerid);
|
Re: mysql cars -
Gotham - 15.10.2016
Keep what?
Please explain more!I know you may be bad at english but we wanna know what you want properly!
Respuesta: mysql cars -
Capotte - 15.10.2016
I want to do that when you check in vllave1 keep vllave2 vllave3 this the id of the player who is PlayerInfo[playerid][jSQLID]
vllave1 = PlayerInfo[playerid][jSQLID]
vllave2 = PlayerInfo[playerid][jSQLID]
vllave3 = PlayerInfo[playerid][jSQLID]
if any of these cells this PlayerInfo[playerid][jSQLID] to save it
Re: mysql cars -
Gazzy - 15.10.2016
Not too sure what you're trying to ask us, however try replacing this:
PHP код:
`vllave1` or vllave2` or vllave3`
To this:
PHP код:
`vllave1` or `vllave2` or `vllave3`
Hopefully that solves your problem.
Respuesta: Re: mysql cars -
Capotte - 15.10.2016
Quote:
Originally Posted by Gazzy
Not too sure what you're trying to ask us, however try replacing this:
PHP код:
`vllave1` or vllave2` or vllave3`
To this:
PHP код:
`vllave1` or `vllave2` or `vllave3`
Hopefully that solves your problem.
|
thank you very much