Repair car
#7

pawn Код:
new rPickup;

public OnGameModeInit()
{
    rPickup = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == rPickup && IsPlayerInAnyVehicle(playerid)) RepairVehicle(GetPlayerVehicleID(playerid));
    return 1;
}
Reply


Messages In This Thread
Repair car - by davve95 - 08.10.2011, 11:08
Re: Repair car - by Jafet_Macario - 08.10.2011, 11:11
Re: Repair car - by davve95 - 08.10.2011, 11:16
Re: Repair car - by davve95 - 08.10.2011, 15:01
Re: Repair car - by cruising - 08.10.2011, 15:05
Re: Repair car - by nilanjay - 08.10.2011, 16:27
Re: Repair car - by Jafet_Macario - 08.10.2011, 16:41

Forum Jump:


Users browsing this thread: 2 Guest(s)