20.10.2018, 19:01
Quote:
The warning is not about expecting constant array but passing a literal value. Make a crime list that you can access anywhere.
pawn Code:
pawn Code:
|
And if I put it as I said, is not it ok? I'm not receiving warning.
Like this:
BEFORE:
Quote:
Quote:
forward SetPlayerCriminal(playerid, declare[], reason[], wanted); |
Quote:
Quote:
forward SetPlayerCriminal(playerid, const declare[], const reason[], wanted); |