Server Freezes / hangs
#5

the problem is that you should not use this function GetPlayerWeapon in OnplayerUpdate... you should use it some other callback/function I had the same hang issue when i was using killtimer in OnPlayerConnect.... you could use ysi' timer one by using

task globaltimer[1000] // 1 second
{
// switch(GetPlayerWeapon(playerid)) { case 44, 45: if((keys & KEY_FIRE) && (!IsPlayerInAnyVehicle(playerid)))
}
Reply


Messages In This Thread
Server Freezes / hangs - by iLearner - 04.12.2016, 17:18
Re: Server Freezes / hangs - by Logic_ - 04.12.2016, 17:30
Re: Server Freezes / hangs - by AnthonyDaBestt - 04.12.2016, 17:32
Re: Server Freezes / hangs - by iLearner - 04.12.2016, 17:59
Re: Server Freezes / hangs - by DetoNater - 04.12.2016, 18:02
Re: Server Freezes / hangs - by iLearner - 04.12.2016, 18:07
Re: Server Freezes / hangs - by oMa37 - 04.12.2016, 20:59
Re: Server Freezes / hangs - by iLearner - 04.12.2016, 21:35
Re: Server Freezes / hangs - by oMa37 - 04.12.2016, 22:08
Re: Server Freezes / hangs - by iLearner - 05.12.2016, 07:32

Forum Jump:


Users browsing this thread: 1 Guest(s)