Small problem
#2

Looks like your problems within DynamicFactions[PlayerInfo[playerid][pFaction]][fType].

(Format ArrayName[Variable][Variable], your array is like ArrayName[Variable[Variable][Variable]][Variable] which isn't the right syntax.)

Try this:

pawn Код:
else if(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[pFaction][fType] == 6)
Not sure if pFaction and fType will be the correct variables for that array, but that's definitely your problem.

If you're new to arrays, try having a look at this: https://sampforum.blast.hk/showthread.php?tid=318212
Reply


Messages In This Thread
Small problem - by Shank - 23.05.2014, 22:07
Re: Small problem - by jamiesage123 - 23.05.2014, 22:13

Forum Jump:


Users browsing this thread: 1 Guest(s)