whats wrong with this timer thing?
#1

Код:
public Kalastamine()
{
    new playerid;
	SendClientMessage(playerid, ROHELINE, "* pььdsid kala kinni");
	PlayerInfo[playerid][pKalu]++;
	PlayerPlaySound(playerid, 1057, 0, 0, 0);
	print("Taimer: Kalastamine");
}
no errors, no warnings

but ingame i have set timer to 1minut but it does nothin in-game it should add +1 item and play sound but it only prints Taimer: Kalastamine in console whats the problem?


SetTimer("Kalastamine",60000,true); //1 Minut
forward Kalastamine();


Код:
if(IsPlayerInRangeOfPoint(playerid, 10.0, 1438.7590,512.7771,18.7258))//Kalastamise koht
{
LoopingAnim(playerid,"PED","SEAT_down",4.1,0,1,1,1,0);
SendClientMessage(playerid, LILLA, "* alustasid kalapььgiga");
SetTimer("Kalastamine",60000,true); //1 Minut
new string2[256], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, sizeof(pname));
format(string2, sizeof(string2), "%s pakib oma kalastus vahendid lahti ning alustab pььgiga", pname);
SendLocalMessage(playerid, LILLA, 7, string2);
}
Reply


Messages In This Thread
whats wrong with this timer thing? - by hardstop - 24.05.2010, 17:11
Re: whats wrong with this timer thing? - by DJDhan - 24.05.2010, 17:13
Re: whats wrong with this timer thing? - by hardstop - 24.05.2010, 17:13
Re: whats wrong with this timer thing? - by Fj0rtizFredde - 24.05.2010, 17:19
Re: whats wrong with this timer thing? - by DJDhan - 24.05.2010, 17:21
Re: whats wrong with this timer thing? - by ¤Adas¤ - 24.05.2010, 17:40
Re: whats wrong with this timer thing? - by hardstop - 24.05.2010, 17:42
Re: whats wrong with this timer thing? - by hardstop - 24.05.2010, 17:46
Re: whats wrong with this timer thing? - by ¤Adas¤ - 24.05.2010, 17:56

Forum Jump:


Users browsing this thread: 1 Guest(s)