20.08.2012, 08:30 
	
	
	
		Good day,
today i had a problem with my timer,
Does anyone have a solution,
Thank you very much,,,
Preshantram.
	
	
	
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;
	}
}
Thank you very much,,,
Preshantram.

