25.06.2011, 20:33
Hello,
I need help with something, well i made a textdraw that shows if vehicle door is locked or unlocked.
Everything is working well, but how do i put the numbers to string, like 1=locked and 0=unlocked?
I need help with something, well i made a textdraw that shows if vehicle door is locked or unlocked.
Everything is working well, but how do i put the numbers to string, like 1=locked and 0=unlocked?
pawn Код:
GetVehicleParamsEx(vehicle,engine,lights,alarm,doors,bonnet,boot,objective);
format(string,256,"Locked: %i",doors);