24.12.2010, 22:29
Something like:
pawn Код:
forward UnFreeze( tPlayer );//This
public UnFreeze ( tPlayer )
{
TogglePlayerControllable( tPlayer, true );
}//To this, can be whereever in the script u want (Just not inside other functions) Eventually just place it last in the script.
public OnPlayerSpawn(playerid)
{
SetTimerEx ( "UnFreeze", 5000, false, "d", playerid );
TogglePlayerControllable ( playerid, false );
return 1;
}//And this should be placed under OnPlayerSpawn (As I showed) Just remember not to copy "public OnPlayerSpawn(playerid) as u probably already got it.