06.04.2009, 01:08
you should define which state they change to.
also you need to toggle them uncontrolable before you kick them or I dont think it will make them uncontrollable.
pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == 2)
{
//do the stuff here.
}
return 1;
}