How do i make a Spawn car command only or a certain worldid?
#3

Код:
public OnPlayerUpdate(playerid)
{
new Float:health;
    new veh;
    veh = GetPlayerVehicleID(playerid);
    GetVehicleHealth(veh, health);
    if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    RepairVehicle(GetPlayerVehicleID(playerid));
    }
return 1;
}
auto repair
Reply


Messages In This Thread
How do i make a Spawn car command only or a certain worldid? - by markjaysonpinoy - 15.07.2010, 19:48
Re: How do i make a Spawn car command only or a certain worldid? - by DJDhan - 15.07.2010, 19:53
Re: How do i make a Spawn car command only or a certain worldid? - by felipex - 15.07.2010, 19:57
Re: How do i make a Spawn car command only or a certain worldid? - by markjaysonpinoy - 15.07.2010, 20:10

Forum Jump:


Users browsing this thread: 2 Guest(s)