Variable returning wrong number
#2

That is NOT how enums work. Read this: https://sampforum.blast.hk/showthread.php?tid=318307

And to solve your problem, You can use a loop at set its values.

PHP код:
for (new 0MAX_BAILSi++) {
    
BailInfo[i][PlayerID] = INVALID_PLAYER_ID;
    
BailInfo[i][PlayerArrestID] = INVALID_PLAYER_ID;

Put this under OnGameModeInit. Should Work
Reply


Messages In This Thread
Variable returning wrong number - by Admigo - 12.04.2017, 18:27
Re: Variable returning wrong number - by DarkSkull - 12.04.2017, 18:38
Re: Variable returning wrong number - by Vince - 12.04.2017, 18:38
Re: Variable returning wrong number - by Admigo - 12.04.2017, 18:58
Re: Variable returning wrong number - by BroZeus - 12.04.2017, 19:10
Re: Variable returning wrong number - by Celmir - 12.04.2017, 19:19
Re: Variable returning wrong number - by Admigo - 12.04.2017, 19:29
Re: Variable returning wrong number - by Celmir - 12.04.2017, 19:34
Re: Variable returning wrong number - by DarkSkull - 12.04.2017, 19:38
Re: Variable returning wrong number - by Admigo - 12.04.2017, 20:06

Forum Jump:


Users browsing this thread: 3 Guest(s)