Command Problem - 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: Command Problem (
/showthread.php?tid=239771)
Command Problem -
FrankC - 14.03.2011
Okay Im trying to set so you can type a command if your in a group/if you have the commandtype.
But i can't get it working here is the code
pawn Код:
if( Groups[Player[playerid][Group]][CommandTypes] == 1 || Groups[Player[playerid][Group]][CommandTypes] == 4 )
I want it so if your 1 AND 11 you can do it i tryed this:
pawn Код:
if( Groups[Player[playerid][Group]][CommandTypes] == 1 && Groups[Player[playerid][Group]][CommandTypes] == 11 || Groups[Player[playerid][Group]][CommandTypes] == 4 )
but that didnt work, can anyone help me here thanks
Re: Command Problem -
Hashski - 14.03.2011
pawn Код:
if( Groups[Player[playerid][Group]][CommandTypes] == 1 || Groups[Player[playerid][Group]][CommandTypes] == 11 )
Re: Command Problem -
FrankC - 14.03.2011
Quote:
Originally Posted by Hashski
pawn Код:
if( Groups[Player[playerid][Group]][CommandTypes] == 1 || Groups[Player[playerid][Group]][CommandTypes] == 11 )
|
Yes ofcurse lool.. Thanks mate