SA-MP Forums Archive
Pls Help me - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Pls Help me (/showthread.php?tid=573977)



Pls Help me - kevi11 - 12.05.2015

CODE: DisableStuntBonusForAll(0);
if(pInfo(i)[GroupID] != 0) return SendClientMessage(playerid,COLOR_RED,"ERROR: You cannot join another group until you leave the current one you're in.");
new PInfo[MAX_PLAYERS][PlayerData];



ERROR: (2009) : warning 215: expression has no effect
(2010) : error 012: invalid function call, not a valid address
(2010) : error 017: undefined symbol "i"
(2010) : error 029: invalid expression, assumed zero
(2010) : fatal error 107: too many error messages on one line


HELP ME PLS ;'(


Re: Pls Help me - ryansoper - 12.05.2015

Have you defined what 'i' is? I.E have you actually set that variable to something?


Re: Pls Help me - Konstantinos - 12.05.2015

It's an array, not a function:
pawn Код:
pInfo[i][GroupID]



Re: Pls Help me - ryansoper - 12.05.2015

In fairness, this is a scripting issue, this is the wrong section.


Re: Pls Help me - kevi11 - 12.05.2015

(i) is playerid. i need to finish this gamemode