[Include] [INC] Map teleport fix.
#4

Quote:
Originally Posted by aspire5630
Or people can just use this...


Code:
// Anywhere in your script


stock FreezePlayer(playerid, milliseconds)
{
	TogglePlayerControllable(playerid, 0);
	GameTextForPlayer(playerid, "~r~Loading...", 2000, 6);
	SetTimerEx("UnfreezePlayer", milliseconds, 0, "i", playerid);
}

forward UnfreezePlayer(playerid);
public UnfreezePlayer(playerid)
{
	TogglePlayerControllable(playerid, 1);
	GameTextForPlayer(playerid, "~g~Loaded!", 2000, 6);
	return 1;
}
Then use this on your teleports

Code:
		FreezePlayer(playerid, 2500);
yeah that's pretty much the best way to do it ;]
Reply


Messages In This Thread
[INC] Map teleport fix. - by Christopher. - 10.11.2009, 20:26
Re: [INC] Map teleport fix. - by aspire5630 - 10.11.2009, 21:21
Re: [INC] Map teleport fix. - by Christopher. - 10.11.2009, 22:31
Re: [INC] Map teleport fix. - by iLinx - 10.11.2009, 23:03
Re: [INC] Map teleport fix. - by Infamous - 10.11.2009, 23:31
Re: [INC] Map teleport fix. - by Christopher. - 11.11.2009, 13:56

Forum Jump:


Users browsing this thread: 1 Guest(s)