Car Health[Problem]
#8

if i hit the car more this happens the message appears like 3 times do i need a timer?

PHP код:
        public OnVehicleDamageStatusUpdate(vehicleidplayerid)
                {
                new 
Float:v;
                
GetVehicleHealth(vehicleidv);
                if(
<= 300) { TogglePlayerControllable(playerid0); {
                
SendClientMessage(playerid, -1"Motorul sa stricat,poti suna mecanicul!");
                
SetVehicleParamsEx(vehicleidVEHICLE_PARAMS_OFF000VEHICLE_PARAMS_ON00);
                
SetVehicleHealth(vehicleid300);
                }
                }
                return 
1;
                } 
Reply


Messages In This Thread
Car Health[Problem] - by Dan_Barocu - 27.04.2012, 11:48
Re: Car Health[Problem] - by antonio112 - 27.04.2012, 12:18
Re: Car Health[Problem] - by milanosie - 27.04.2012, 12:21
Re: Car Health[Problem] - by Dan_Barocu - 27.04.2012, 12:45
Re: Car Health[Problem] - by Dan_Barocu - 27.04.2012, 12:47
Re: Car Health[Problem] - by zbt - 27.04.2012, 13:50
Re: Car Health[Problem] - by Dan_Barocu - 27.04.2012, 14:15
Re: Car Health[Problem] - by Dan_Barocu - 27.04.2012, 14:44
Re: Car Health[Problem] - by zbt - 27.04.2012, 15:47

Forum Jump:


Users browsing this thread: 3 Guest(s)