20.05.2016, 04:04
This could make your code a little shorter. (I haven't tested it)
When using playerid, use lowercase. Same with vehicleid, and all those parameters.
You could put this in a timer, and run it ever 5-10 seconds (5000-10000), checking each player who is in a car (In state PLAYER_STATE_DRIVER)
Код:
new playercarmodel = GetVehicleModel(GetPlayerVehicleID(playerid));
You could put this in a timer, and run it ever 5-10 seconds (5000-10000), checking each player who is in a car (In state PLAYER_STATE_DRIVER)