05.08.2018, 23:31
For a strange reason doesn't work. I mean, i have a command to test it:
Command doesn't get executed.
Before editing that define the command worked. So should be something wrong with your code..
pawn Код:
CMD:test(playerid)
{
SetPlayerWantedLevelEx(playerid, GetPlayerWantedLevel(playerid)+1);
SendClientMessage(playerid, COLOR_RED, "Wanted level increased by 1.");
new buf[128];
format(buf, sizeof(buf), "Wanted level: %d - %s", GetPlayerWantedLevel(playerid), WantedLevelName(playerid));
SendClientMessage(playerid, -1, buf);
return 1;
}
Before editing that define the command worked. So should be something wrong with your code..