18.04.2011, 13:05
Hi.. i found here on this forum a FilterSript with /createstrip.. well i want to put it into my gamemode and make it only for LSPD,FBI and NG to can use.. if u can help me plz post here... the command is:
Код:
if (strcmp(cmd,"/createstrip",true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3) { new Float:plocx,Float:plocy,Float:plocz,Float:ploca; GetPlayerPos(playerid, plocx, plocy, plocz); GetPlayerFacingAngle(playerid,ploca); CreateStrip(plocx,plocy,plocz,ploca); return 1; } else if (strcmp(cmd,"/removestrip",true) == 0) { DeleteClosestStrip(playerid); return 1; } else if (strcmp(cmd,"/removeallstrip",true) == 0) { DeleteAllStrip(); return 1; }