Pls Help me
#1

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 ;'(
Reply
#2

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

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)