26.10.2012, 22:11
Hey guys, me again. How would i go about locking a class if a player is wanted?
if(GetPlayerWantedLevel(playerid) >= 1)
{
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid, true);
TogglePlayerSpectating(playerid, false);
SendClientMessage(playerid, COLOR_RED, "You're wanted");
}