24.04.2012, 03:20
add dcmd(repair,6,cmdtext); under dcmd(refuel,6,cmdtext);.
Paste this at the bottom of your script:
Paste this at the bottom of your script:
pawn Код:
dcmd_repair(playerid, params[])
{
#pragma unused params
if(IsPlayerInAnyVehicle(playerid))
{
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid,0xFFFF00AA,"Server: Your Vehicle Has Been Repaired!");
}
return 1;
}