Need the following command
#5

/fix command
Код:
CMD:fix(playerid, params[])
{
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "You are not in a vehicle!");
    if(GetPlayerState(playerid) != 2) return SendClientMessage(playerid, -1, "You are not in the driver seat!");
    RepairVehicle(GetPlayerVehicleID(playerid));
    SendClientMessage(playerid, -1, "Your vehicle has been sucessfully repaired!");
    PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
    return 1;
}
Reply


Messages In This Thread
Need the following command - by Team_PRO - 25.09.2013, 16:14
Re: Need the following command - by bathushan - 25.09.2013, 17:32
Re: Need the following command - by DanishHaq - 25.09.2013, 18:35
Re: Need the following command - by Team_PRO - 25.09.2013, 22:08
Re: Need the following command - by zrelly - 26.09.2013, 00:27
Re: Need the following command - by Team_PRO - 26.09.2013, 01:26
Re: Need the following command - by Krakuski - 26.09.2013, 03:29
Respuesta: Need the following command - by Alex_Obando - 26.09.2013, 04:14
Re: Need the following command - by Team_PRO - 26.09.2013, 05:44

Forum Jump:


Users browsing this thread: 2 Guest(s)