Buggy script ( so much warnings )
#2

"str" is being used by YSI library (probably as name of parameter). Remove "str" declaration as global from line 56 and declare it each time as local where needed to be used. Otherwise just rename it.

When you want to check if X is equal to Y, we use double equal sign such X == Y. Go to the lines that gave warning 211: possibly unintended assignment and correct them.

You have 3 different enums that are used in 3 different arrays. Using an array with a different constant from another enum will give tag mismatch. For example:
pawn Code:
if(PlayerInfo[playerid][aDuty] = 0)
AdminInfo is used for "aDuty" so becomes:
Code:
AdminInfo[playerid][aDuty] == 0)
Go again to the lines that give tag mismatch and correct the name of the array.
Reply


Messages In This Thread
Buggy script ( so much warnings ) - by ImTouchk - 16.09.2016, 16:22
Re: Buggy script ( so much warnings ) - by Konstantinos - 16.09.2016, 16:40
Re: Buggy script ( so much warnings ) - by ImTouchk - 16.09.2016, 17:30

Forum Jump:


Users browsing this thread: 1 Guest(s)