SA-MP Forums Archive
Bug map please help me - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bug map please help me (/showthread.php?tid=580059)



Bug map please help me - newbman - 02.07.2015

When i enter a random interiror. It must take about 2-3 second to load complely the map but when i enter i imeditlely fall down and the map didnt load complety. WHat should i do the solve this problem. OR maybe what can i do to freeze the player when they enter a random door. Please help me


Re: Bug map please help me - JaydenJason - 02.07.2015

Код:
CMD:enter(playerid, params[])
{
	TogglePlayerControllable(playerid, false);
	SetTimerEx("EnterFix", 5000, false, "i", playerid);
	return 1;
}

forward EnterFix(playerid);
public EnterFix(playerid)
{
	TogglePlayerControllable(playerid, true)
	return 1;
}



Re: Bug map please help me - newbman - 02.07.2015

Quote:
Originally Posted by JaydenJason
Посмотреть сообщение
Код:
CMD:enter(playerid, params[])
{
	TogglePlayerControllable(playerid, false);
	SetTimerEx("EnterFix", 5000, false, "i", playerid);
	return 1;
}

forward EnterFix(playerid);
public EnterFix(playerid)
{
	TogglePlayerControllable(playerid, true)
	return 1;
}
OMG, thank you, it work perfectly, rep for you