14.02.2010, 16:00
I'm using this type on my server.
On teleport command I set
And of course an UnfreezePlayer function.
This will freeze player for five seconds in the air, till objects load. Works for me.
Cheers, kLx
On teleport command I set
pawn Код:
TogglePlayerControllable( playerid, false );
SetTimerEx( "UnfreezePlayer", 5000, 0, "i", playerid );
GameTextForPlayer(playerid," Please wait 5 seconds... ",5000, 6);
pawn Код:
forward UnfreezePlayer( playerid );
public UnfreezePlayer( playerid )
{
TogglePlayerControllable( playerid, true );
return 1;
}
Cheers, kLx