help - Simple checkpoint for repair
#8

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerCheckpoint(playerid, 0, 0, 0, 3.0); //fill the things...
    return 1;
}
 
public OnPlayerEnterCheckpoint(playerid)
{
    TogglePlayerControllable(playerid,0);
    SetTimerEx("srepair",10000,0,"i",playerid);
    return 1;
}

forward srepair(playerid);
public srepair(playerid)
{
   TogglePlayerControllable(playerid,1);
   RepairVehicle(GetPlayerVehicleID(playerid));
   GameTextForPlayer(playerid,"~n~~g~Vehicle ~r~Repaired",3000,3);
   return 1;
}
Reply


Messages In This Thread
help - Simple checkpoint for repair - by gotwarzone - 07.03.2014, 16:28
Re: help - Simple checkpoint for repair - by Lajko1 - 07.03.2014, 19:49
Re: help - Simple checkpoint for repair - by gotwarzone - 08.03.2014, 06:12
Re: help - Simple checkpoint for repair - by GrandParadise - 08.03.2014, 06:21
Re: help - Simple checkpoint for repair - by gotwarzone - 08.03.2014, 06:32
Re: help - Simple checkpoint for repair - by GrandParadise - 08.03.2014, 06:35
Re: help - Simple checkpoint for repair - by gotwarzone - 08.03.2014, 06:44
Re: help - Simple checkpoint for repair - by ReD_HunTeR - 08.03.2014, 06:49
Re: help - Simple checkpoint for repair - by gotwarzone - 08.03.2014, 07:06
Re: help - Simple checkpoint for repair - by gotwarzone - 08.03.2014, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)