Quote:
Originally Posted by [..MonTaNa..]
pawn Код:
CMD:respawncar(playerid, params[]) { if(alevel[playerid] < 1) return SCM(playerid, BIELA, "[ ! ] Nemбљ dostatoc(nй Admin Prбva !"); static vehID ; new reason[128];
if(sscanf( params, "iS", vehID, reason)) return SendClientMessage( playerid, -1, "Pouћi: /respawncar < carID > < reason >" ); if (vehID == INVALID_VEHICLE_ID) return SendClientMessage( playerid, -1, "ERROR: Bad CarID ." );
SetVehicleToRespawn( vehID );
format(string, sizeof string, "Vehicle has been respawned successfully. Reason %s.", reason); SendClientMessage(playerid, -1, string);
return 1; }
|
The reason I know but I want to Administrator repawn vehicle [vehicle id] [reason]
Vehicle id already I do not know