Trouble with Timer
#1

Good day,
today i had a problem with my timer,

Код:
error 021: symbol already defined: "JobTimer"
error 021: symbol already defined: "JobTimer"
Код:
new JobTimer[MAX_PLAYERS];

public OnPlayerExitVehicle(playerid, vehicleid)
{
 	new Veh=GetVehicleModel(GetPlayerVehicleID(playerid));
	{
			if(Veh == 448)
			{
	
		RemovePlayerFromVehicle(playerid);
		JobTimer[playerid]= SetTimerEx("Jobtimer", 20000, true, "d", playerid);
		ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX,"Pizzajob","You have left the pizzaboy, you have 20 seconds left to get back to work!", "ok", "");
		}
	}
	return 1;
}

forward JobTimer(playerid);
public JobTimer(playerid)
{
  ShowPlayerDialog(playerid, 16, DIALOG_STYLE_MSGBOX,"Pizzajob","I am not paying you for this!, you are fired", "ok", "");
PlayerJob[playerid] = 0;
	}
}
Does anyone have a solution,
Thank you very much,,,


Preshantram.
Reply


Messages In This Thread
Trouble with Timer - by preshantram - 20.08.2012, 08:30
Re: Trouble with Timer - by Cjgogo - 20.08.2012, 08:33
Re: Trouble with Timer - by preshantram - 20.08.2012, 08:37
Re: Trouble with Timer - by Cjgogo - 20.08.2012, 08:39
Re: Trouble with Timer - by preshantram - 20.08.2012, 08:40
Re: Trouble with Timer - by Cjgogo - 20.08.2012, 08:46
Re: Trouble with Timer - by preshantram - 20.08.2012, 08:59
Re: Trouble with Timer - by Cjgogo - 20.08.2012, 09:06
Re: Trouble with Timer - by preshantram - 20.08.2012, 09:09
Re: Trouble with Timer - by Cjgogo - 20.08.2012, 09:24

Forum Jump:


Users browsing this thread: 3 Guest(s)