12.04.2017, 18:27
Hello
I have a problem with my variable.
When i check the variable its returning 0 while it should return 65535(INVALID PLAYER)
How can i fix this?
DEBUG:
PS: This variable has not been set to other values.
Admigo
I have a problem with my variable.
When i check the variable its returning 0 while it should return 65535(INVALID PLAYER)
Код:
enum BailData { PlayerID=INVALID_PLAYER_ID, PlayerArrestID=INVALID_PLAYER_ID, PlayerPrice } new BailInfo[MAX_BAILS][BailData];
DEBUG:
Код:
COMMAND:testbail(playerid,params[]) { for(new i; i < MAX_BAILS; i++) { printf("NUM:%d PID:%d",i,BailInfo[i][PlayerID]); } } returns NUM:1 PID:0 NUM:2 PID:0 NUM:3 PID:0 NUM:4 PID:0 etc...
Admigo