Lock problem
#1

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?
pawn Код:
GetVehicleParamsEx(vehicle,engine,lights,alarm,doors,bonnet,boot,objective);
format(string,256,"Locked: %i",doors);
Reply


Messages In This Thread
Lock problem - by MetalScript - 25.06.2011, 20:33
Re: Lock problem - by boelie - 25.06.2011, 21:26
Re: Lock problem - by MetalScript - 25.06.2011, 21:43
Re: Lock problem - by MetalScript - 25.06.2011, 22:00

Forum Jump:


Users browsing this thread: 1 Guest(s)