24.12.2010, 22:10
Keep in mind you have to forward the UnFreeze function aswell.
Just noticed that in the public UnFreeze u wrote "tPlayer", but wrote "playerid" in the TogglePlayerControllable. Hopefully the code above should remove some of the errors you might get.
pawn Код:
forward UnFreeze( tPlayer );
public UnFreeze ( tPlayer )
{
TogglePlayerControllable ( tPlayer, true );
}