Problem with objects
#2

use a timer to freeze yourself for so many seconds to give the objects sometime to load this is what i do and works fine for me


in you teleport cmd put this

Код:
Freeze(playerid, 5000);
at the bottom of your script

Код:
stock Freeze(playerid, time)
	{
	TogglePlayerControllable(playerid, false);
	SetTimerEx("Unfreeze", time, false, "i", playerid);
}
and this below it

Код:
forward Unfreeze(playerid);
public Unfreeze(playerid)
	{
	TogglePlayerControllable(playerid, true);
	return 1;
}
Reply


Messages In This Thread
Problem with objects - by [PS]NightborN - 27.11.2011, 16:46
Re: Problem with objects - by manchestera - 27.11.2011, 16:48
Re: Problem with objects - by [PS]NightborN - 27.11.2011, 16:49
Re: Problem with objects - by manchestera - 27.11.2011, 16:50
Respuesta: Problem with objects - by OPremium - 27.11.2011, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)