Need help (Freeroam based)
#2

pawn Код:
public OnGameModeInit( )
{
    SetTimer( "AutoRepair", 500, true );
    // Rest of your code
    return 1;
}

forward AutoRepair( );
public AutoRepair( )
{
    for( new x = 0; x < MAX_PLAYERS; x++ )
    {
        if( !IsPlayerInAnyVehicle( x ) ) continue;
        RepairVehicle( GetPlayerVehicleID( x ) );
    }
    return 1;
}
Reply


Messages In This Thread
Need help (Freeroam based) - by UnknownGamer - 09.11.2012, 18:19
Re: Need help (Freeroam based) - by Konstantinos - 09.11.2012, 18:33
Re: Need help (Freeroam based) - by UnknownGamer - 09.11.2012, 18:55

Forum Jump:


Users browsing this thread: 1 Guest(s)