katursis / Pawn.CMD

🚀 Plugin-powered command processor for SA:MP server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parameter Warning

MaxAndolini opened this issue · comments

warning 239: literal array/string passed to a non-const parameter

When we use Zeex 3.10.9 compiler it give us this warning in the callcmd

For example;

callcmd::hasat(playerid, NULL);

I found the problem. Problem is here:

CMD:hasat(playerid, params[])

it should be

CMD:hasat(playerid, const params[])