Quote:
Originally Posted by Axey187
Type this in your Script :
pawn Код:
CMD : spawncar(playerid, params[]) { if(pInfo[playerid][pLevel] >= 2) { new veh[30],vehid; if(sscanf(params, "s[30]", veh)) return SendClientMessage(playerid, red, "Usage: /spawncar <Model ID/Vehicle Name>"); if(IsNumeric(veh)) vehid = strval(veh); else vehid = ReturnVehicleModelID(veh); if(vehid < 400 || vehid > 611) return SendClientMessage(playerid, red, "Invalid vehicle model!"); SpawnVehicle(playerid,vehid); CommandToAdmins(playerid,"spawncar"); return 1; } else return ShowMessage(playerid, red, 1); }
- J.L Administration System .
|
i think it wont work.
1.u copied from J.L Administration System so it needs its Defines (which is in the script)
2.u need ZCMD i think