mysql cars
#1

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);

Reply
#2

Keep what?
Please explain more!I know you may be bad at english but we wanna know what you want properly!
Reply
#3

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
Reply
#4

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.
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)