22.11.2009, 23:07
Hello Again.
Well, I have maked a /jobs menu, if you select a job, a marker should be added on the map so the player can easy go to the job's HQ.
That was the quastion, how can I make a marker appear on the map when I select a job?
Here is my Menu script:
If you ask why it is so many "}" at the bottom, it is because I got another menu just above that takes part in the same script.
Thank you
Well, I have maked a /jobs menu, if you select a job, a marker should be added on the map so the player can easy go to the job's HQ.
That was the quastion, how can I make a marker appear on the map when I select a job?
Here is my Menu script:
Код:
if(CurrentMenu == jobsmenu)
{
switch(row)
{
case 0:
{
TogglePlayerControllable(playerid, true);
SendClientMessage(playerid, 0xFFFFFFFF, "You have chosen to be employed as a News Reporter.");
SendClientMessage(playerid, 0xC0C0C0FF, "The selected job headquarters has been marked on your map.");
}
case 1:
{
TogglePlayerControllable(playerid, true);
SendClientMessage(playerid, 0xFFFFFFFF, "You have chosen to be employed as a Taxi Driver.");
SendClientMessage(playerid, 0xC0C0C0FF, "The selected job headquarters has been marked on your map.");
}
case 2:
{
TogglePlayerControllable(playerid, true);
SendClientMessage(playerid, 0xFFFFFFFF, "You have chosen to be employed as a Truck Driver.");
SendClientMessage(playerid, 0xC0C0C0FF, "The selected job headquarters has been marked on your map.");
}
}
}
}
Thank you

