15.12.2016, 13:47
Код:
dcmd_spike(playerid,params[]) { #pragma unused params if(GetPlayerSkin(playerid) != 285) return false;//This would show something like SERVER: Invalid Command new Float:plocx,Float:plocy,Float:plocz,Float:ploca; GetPlayerPos(playerid, plocx, plocy, plocz); GetPlayerFacingAngle(playerid,ploca); CreateSpike(plocx,plocy,plocz,ploca); SendClientMessage(playerid, -1, "/rspike to Remove This"); return 1; }