02.12.2017, 19:52
Sorry for bumping old topic. May be someone interested and need a fix for this.
Default value for each aimid[MAX_PLAYERS] array element must be "INVALID_PLAYER_ID" or "-1"
So, you should add to OnPlayerConnect this:
Default value for each aimid[MAX_PLAYERS] array element must be "INVALID_PLAYER_ID" or "-1"
So, you should add to OnPlayerConnect this:
Код:
aimid[playerid] = INVALID_PLAYER_ID