problem with Timers :\ ?
#1

hello people, i post to know why when i connect a NPC on my server, my Timers doesn't load then check my custom callbacks? i know it's coming from npcs because when i don't connect them, my timers work perfectly. What is wrong? do you need a piece of code? thanks for help
Reply
#2

bummmmmmmmmmmmmmmmmmmmmp
Reply
#3

I probably cant help you, as i know nothing about npc's never made one. But i think you would get a better response if you do show a little code people might spot the problem straight away.
Reply
#4

ya it's sure but i don't know what i should show... xD i have connectnpc and settimer lol
Reply
#5

Probably best showing OnGameModeInit (im guessing thats the callback used for your npc's/timers) if not whatever callback is used.
Reply
#6

here:
Код:
public OnGameModeInit()
{

	new id;
   	ShowPlayerMarkers(1);
	ShowNameTags(1);
	UsePlayerPedAnims();
	SetGameModeText("The MAdhouse DM v1.0b");
	SendRconCommand("mapname Las Venturas (LV No Limits)");
  /////////////////////////////////NPCS////////////////////////////////////
	ConnectNPC("MAdBitch","MAdbitch");
/////////////////////////////////////////////////////////////////////////

	   // Players
	for (id = 0; id <= 299; id++) {
	if (id == 265) id = 274; // Skip over the bad ones
	AddPlayerClass(269,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1); // LV Base spawn
              //and much others
	}


	AddStaticVehicle(563,1619.8687,1262.4503,11.5252,62.2300,1,6);
              //and much others


///////////////////////////////////////////TIMERS/////////////////////////////////////
	SetTimer("SendMSG", 60000, true);                                              //
	SetTimer("SendMSG2", 90000, true);
	SetTimer("Speedometer", 100, true);
	SetTimer("InteriorCheck", 3000, true);
////////////////////////////////////////////////////////////////////////////////


	return 1;
}
Reply
#7

Pmk1 Did You Came In My Server If You Did Please Come In Again I Will Show You The Problem
Reply
#8

yes it was me, open it and ill go see right now.....

btw/ bump bump bum bum bummmmmmmmmmp any one knows what my problem is?
Reply
#9

bummmmmp did anyone already had my problem? my timers don't run if i conenct a npc..... what could be the problem?
Reply
#10

bump.....
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)