[Include] Timer Fix (seamlessly makes SetTimer very accurate)
#63

Slice, I have big problem !

I have this in server.log

And when i login in Server account, game freeze and CPU activity is 60-70 %

Quote:

[18:20:11] (TimerFix) ERROR: The function "Vracanje_Kamere" didn't properly execute, some timers might not have been called.

Code is

Код:
SetTimerHook("Vracanje_Kamere", Spawn[spawn_id][sAnimTrajanje], false, "id", playerid, spawn_id);
Код:
public Vracanje_Kamere(playerid, spawn_id)
{
	new inst_kod[25];
	
    gpci(playerid, inst_kod, 25);

	
	//GASENJE SPAWN ANIMACIJE
	ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);

	SetCameraBehindPlayer(playerid);
	
	Spawn[spawn_id][sEnble] = false;
	
	//UKOLIKO JE PROSLI PUT KRESALO
	if(Korisnik[playerid][pCrashed] == true)
	{
		SetTimerHook("CrashSpawn", 3000, false, "i", playerid);
	}

	//PROVJERA PRVE PRIJAVE
	if(!strcmp(Korisnik[playerid][pGPCI], "none", true))
	{
  		Korisnik[playerid][pGPCI_Kod] = false;
		
		strmid(Korisnik[playerid][pGPCI], inst_kod, 0, strlen(inst_kod), 30);
	
		ShowPlayerDialog(playerid,999,DIALOG_STYLE_MSGBOX,
		"Prva prijava",""BIJELA"Ovo računalo je zabiljeћeno kao glavno računalo Vaљeg računa.\nUkoliko se netko bude htio prijavit na Vaљ račun s drugog računala, morat će ukucat kod koji će biti poslan na Vaљ e-Mail.\n"ZUTA"Samo korisnici s visokom razinom zaљtite uz Premium Silver.\n"BIJELA"Za viљe pitanja posjetite "SPLAVA""FORUM""BIJELA" ili putem komande "PINK"/report"BIJELA".\n\nUgodnu igru Vam ћeli Haswell RolePlay tim.","OK","");

		SpremiKorisnika(playerid);
	}

	//UKOLIKO GPCI NIJE ISTI KAO KOD KOJI JE ZABILJEZEN KAO GLAVNI
	if(strcmp(Korisnik[playerid][pGPCI], inst_kod, true))
	{
		ShowPlayerDialog(playerid, DIALOG_SECURE_GPCI_QUE, DIALOG_STYLE_MSGBOX, "Sigurnosno pitanje - Računalo", ""BIJELA"Dali je ovo vaљe glavno računalo koje će te stalno\nkoristiti za prijavu na Vaљ korisnički racun?", "Da", "Ne");
	}

	return TogglePlayerControllable(playerid, true);
}
How I can fix this problem?

P.S.: Sorry for my bed English
Reply


Messages In This Thread
Timer Fix (seamlessly makes SetTimer/SetTimerEx very accurate) - by Slice - 12.10.2011, 16:18
Respuesta: Timer Fix (seamlessly makes SetTimer very accurate) - by SuperMarioRol - 12.10.2011, 16:20
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by IstuntmanI - 12.10.2011, 16:21
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by rbN. - 12.10.2011, 16:37
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Killa[DGZ] - 12.10.2011, 16:37
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Stigg - 12.10.2011, 16:44
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by OKStyle - 12.10.2011, 16:57
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 12.10.2011, 16:58
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by RyDeR` - 12.10.2011, 17:31
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Hiddos - 12.10.2011, 17:33
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 12.10.2011, 18:24
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by OKStyle - 12.10.2011, 18:48
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 12.10.2011, 18:56
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by wups - 12.10.2011, 19:00
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 12.10.2011, 19:15
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by wups - 12.10.2011, 19:19
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 12.10.2011, 19:36
Re : Timer Fix (seamlessly makes SetTimer very accurate) - by Naruto_Emilio - 12.10.2011, 19:51
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by [M.A]Angel[M.A] - 12.10.2011, 19:53
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 12.10.2011, 19:59
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by iPLEOMAX - 12.10.2011, 20:04
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by TheArcher - 12.10.2011, 20:16
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Deskoft - 13.10.2011, 01:19
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by CyNiC - 13.10.2011, 01:31
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Lorenc_ - 13.10.2011, 08:48
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by RyDeR` - 13.10.2011, 10:25
AW: Timer Fix (seamlessly makes SetTimer very accurate) - by Pablo Borsellino - 13.10.2011, 10:31
Re : Timer Fix (seamlessly makes SetTimer very accurate) - by TheBest6 - 13.10.2011, 11:49
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Lorenc_ - 06.11.2011, 08:58
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 06.11.2011, 09:38
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Lookin - 06.11.2011, 11:48
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by LZLo - 06.11.2011, 20:23
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Sascha - 06.11.2011, 20:51
Respuesta: Timer Fix (seamlessly makes SetTimer very accurate) - by Donuts - 07.11.2011, 19:14
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by ViniBorn - 07.11.2011, 19:49
AW: Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Littl3j0hNy - 13.11.2011, 23:19
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Lorenc_ - 14.11.2011, 06:55
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 14.11.2011, 07:13
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by juraska - 13.12.2011, 14:12
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by BaubaS - 13.12.2011, 14:16
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Ballu Miaa - 01.03.2012, 17:47
Re: Timer Fix (seamlessly makes SetTimer/SetTimerEx very accurate) - by Slice - 01.03.2012, 18:02
Re: Timer Fix (seamlessly makes SetTimer/SetTimerEx very accurate) - by Ballu Miaa - 01.03.2012, 18:24
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 01.03.2012, 18:27
Respuesta: Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Vladeksh - 01.03.2012, 20:31
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 02.03.2012, 07:29
Respuesta: Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Vladeksh - 04.03.2012, 17:11
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by milanosie - 04.03.2012, 18:08
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by clavador - 04.03.2012, 18:11
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 04.03.2012, 18:16
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by vyper - 20.04.2012, 14:24
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Y_Less - 20.04.2012, 14:40
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by vyper - 20.04.2012, 16:16
Respuesta: Timer Fix (seamlessly makes SetTimer very accurate) - by Francis. - 21.04.2012, 08:47
Re: Respuesta: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 21.04.2012, 09:11
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Patrik356b - 09.06.2012, 16:58
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by nescha - 10.06.2012, 13:06
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by ajwar - 13.06.2012, 12:41
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Slice - 13.06.2012, 12:50
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by MP2 - 23.06.2012, 16:41
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by d0nTtoucH - 21.11.2013, 21:03
Respuesta: Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Malganys - 21.11.2013, 22:39
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by vannesenn - 25.05.2014, 16:08
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by iRaiDeN - 25.05.2014, 16:20
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by 0x41726d79 - 26.10.2014, 09:58
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by TitanZ - 23.01.2016, 06:11
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Crayder - 23.01.2016, 06:30
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Shravan859 - 05.01.2018, 12:34
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Geebrox - 15.01.2018, 22:15
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by PepsiCola23 - 28.01.2018, 12:41
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by brayancamaroes - 04.01.2019, 22:38
Re: Timer Fix (seamlessly makes SetTimer very accurate) - by Banditul18 - 04.01.2019, 22:50

Forum Jump:


Users browsing this thread: 2 Guest(s)