25.01.2018, 14:48
Somewhere in your GM, you don't set correctly your variable for wanted level (Player[playerid][pWantedLevel]), because i simple found your 5s timer and i saw, that you are setting wanted level to 0 if your variable is 0. So check your GM if you have set correctly all your variables.
Code:
public FiveSecondsTimer() { foreach(Player, i) { if(Player[i][pWantedLevel] == 0) { SetPlayerWantedLevel(i,0); PlayerTextDrawHide(i, WantedText[i]); DestroyDynamic3DTextLabel(WantedScris[i]); }