[Solved] Can-t kill timer!
#3

but if it-s not looping it wont heal player every certain time

Код:
	if(strcmp(cmd, "/weed", true) == 0) {

		if(PlayerInfo[playerid][weed]>0){
		SetPlayerSpecialAction (playerid,SPECIAL_ACTION_SMOKE_CIGGY );
		SendClientMessage(playerid, COLOR_GREY, "You are now smoking one gram of weed!");
		PlayerInfo[playerid][weed]=PlayerInfo[playerid][weed]-1;
		DrugCount[playerid]=0;
		SetTimerEx("Weed",250,true,"i",playerid);
		return 1;}
        SendClientMessage(playerid, COLOR_GREY, "You don't have weed.");
		return 1;
	}
Reply


Messages In This Thread
[Solved] Can-t kill timer! - by aNdReSkKkK - 29.01.2010, 05:02
Re: Can-t kill timer! - by mansonh - 29.01.2010, 05:07
Re: Can-t kill timer! - by aNdReSkKkK - 29.01.2010, 05:14
Re: Can-t kill timer! - by Goobiiify - 29.01.2010, 05:16
Re: Can-t kill timer! - by mansonh - 29.01.2010, 05:16
Re: Can-t kill timer! - by aNdReSkKkK - 29.01.2010, 05:22
Re: [Solved] Can-t kill timer! - by mansonh - 29.01.2010, 05:33

Forum Jump:


Users browsing this thread: 7 Guest(s)