Respawning Cars
#2

pawn Код:
CMD:respawncarid( playerid, params[ ] )
{
    static
        vehID
    ;

    if ( sscanf( params, "i",  vehID ) )
        return SendClientMessage( playerid, COLOR_RED, "USAGE: /respawncarid < vehID >" );

    if ( vehID == INVALID_VEHICLE_ID )
        return SendClientMessage( playerid, COLOR_RED, "ERROR: Invalid vehicle ID." );

    SetVehicleToRespawn( vehID );

    SendClientMessage( playerid, COLOR_RED, "Vehicle has been respawned succesfully." );

    return 1;
}
Reply


Messages In This Thread
Respawning Cars - by fuem1907 - 07.07.2012, 07:28
Re: Respawning Cars - by Jarnu - 07.07.2012, 07:46
Re: Respawning Cars - by MA_proking - 07.07.2012, 07:46
Re: Respawning Cars - by fuem1907 - 07.07.2012, 07:49
Re: Respawning Cars - by [MM]RoXoR[FS] - 07.07.2012, 07:53

Forum Jump:


Users browsing this thread: 1 Guest(s)