12.11.2015, 10:24
Can you Explain i dont understand what you talking about Wanted level..
But
Just spawn him when he leave dm but this can abuse suppose player do try this cmd 2 time and spawn him self to avoid death so its better to kill him rather than doing that.
And i dont see in this code any wanted level function it maybe from your gamemode.
But
Код:
CMD:napustidm(playerid, params[]) { if(InDM[playerid] == 0) { SendClientMessage(playerid, -1, "Nisi u DM areni!"); return 1; } else if(InDM[playerid] == 1) { InDM[playerid] = 0; SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SpawnPlayer(playerid); SendClientMessage(playerid, -1, "Napustio si DM arenu!!"); return 1; } return 1; }
And i dont see in this code any wanted level function it maybe from your gamemode.