PDA

View Full Version : locking classes for wanted players


Stu1
26/10/2012, 10:11 PM
Hey guys, me again. How would i go about locking a class if a player is wanted?

_Khaled_
26/10/2012, 11:20 PM
if(GetPlayerWantedLevel(playerid) >= 1)
{
ForceClassSelection(playerid);
TogglePlayerSpectating(playerid, true);
TogglePlayerSpectating(playerid, false);
SendClientMessage(playerid, COLOR_RED, "You're wanted");
}
it's not so hard

Stu1
27/10/2012, 05:50 PM
Cheers Khaled, works a charm. Repped.