03.07.2012, 16:08
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
switch (pickupid)
{
//-----------------------Vehicle Repair----------------
case 0:
{
RepairVehicle(GetPlayerVehicleID(playerid));
SetVehicleHealth(GetPlayerVehicleID(playerid),1000.0);
SendClientMessage(playerid,orange,"Vehicle Fixed");
}
}
return 1;
}