UpdateVehicleDamageStatus not update
#3

Here the code:-

PHP код:
CMD:test(playeridparmas[])
{
    new 
vehicleid GetPlayerVehicleID(playerid);
   if(
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1"You can only use this command when you are in a vehicle!");// Checks if the player is in a vehicle or not. If yes, it will show the player an error message.
   
RepairVehicle(playerid);//repairs the vehicle.
   
SendClientMessage(playerid, -1"Vehicle successfully repaired!");//Sends the clientmessage about the vehicle to be repaired.
return 1;

Reply


Messages In This Thread
UpdateVehicleDamageStatus not update - by n00el - 25.08.2016, 10:51
Re: UpdateVehicleDamageStatus not update - by DarkSkull - 25.08.2016, 13:55
Re: UpdateVehicleDamageStatus not update - by DeeadPool - 25.08.2016, 15:07

Forum Jump:


Users browsing this thread: 1 Guest(s)