07.07.2012, 07:46
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;
}