SA-MP Forums Archive
rcon automatic gates - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: rcon automatic gates (/showthread.php?tid=216739)



rcon automatic gates - hadzx - 26.01.2011

ive tryed quite a few things like this


Код:
if(!IsPlayerConnected(i)) IsPlayerAdmin(playerid)) continue;
and then all the automatic gates codes etc


but nothing works im trying to make a automatic gate that opens if your in rcon if your not then the gate doesnt open


thanks :P


Re: rcon automatic gates - HyperZ - 26.01.2011

pawn Код:
if( !IsPlayerAdmin( i )  ) return 0;
if(!IsPlayerConnected(i)) continue;



Re: rcon automatic gates - hadzx - 26.01.2011

Quote:
Originally Posted by Clive
Посмотреть сообщение
pawn Код:
if( !IsPlayerAdmin( i )  ) return 0;
if(!IsPlayerConnected(i)) continue;
Thanks


Re: rcon automatic gates - HyperZ - 26.01.2011

Quote:
Originally Posted by hadzx
Посмотреть сообщение
Thanks
No Problem.