Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
How to lock some vehicles who are loaded from SQL DB?
Posts: 13
Threads: 4
Joined: Nov 2014
Mysql update
Код:
UPDATE `Table A`,`Table B`
SET `Table A`.`text`=concat_ws('',`Table A`.`text`,`Table B`.`B-num`," from ",`Table B`.`date`,'/')
WHERE `Table A`.`A-num` = `Table B`.`A-num`
Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
You don't understand my question.
I mean i added some cars for my dealership , and i want to lock them from my gamemode , cuz in my sql vehicle table don't appears any lock option.
Posts: 449
Threads: 125
Joined: Apr 2013
Reputation:
0
I tried something like this:
SetVehicleParamsEx(337, 0, 0, 0, 1, 0, 0, 0);
Where 337 is vehicleid from SQL DB ( not model id) and 1- locked doors but not working.
I also added the code at on gm init.