Menu problem
#9

pawn Код:
if(strcmp(cmd, "/duty", true) == 0)
{
  if(!(PlayerInfo[playerid][pFaction] != 255 && DynamicFactions[PlayerInfo[playerid][pFaction]][fType] == 1))return SendClientMessage(playerid, COLOR_GREY, "Invalid Faction/Type.");
  if (!IsPlayerInRangeOfPoint(playerid,5.0,PoliceDutyPosition[X],PoliceDutyPosition[Y],PoliceDutyPosition[Z]))return SendClientMessage(playerid, COLOR_GREY, "You are not at the duty position!");
  if(GetPlayerVirtualWorld(playerid) != PoliceDutyPosition[World])return SendClientMessage(playerid, COLOR_GREY, "You are not at the duty position!");
  ShowMenuForPlayer(copduty,playerid);
  return 1;
}
Reply


Messages In This Thread
Menu problem - by joe_stoner - 18.01.2010, 18:33
Re: Menu problem - by Joe Staff - 18.01.2010, 18:38
Re: Menu problem - by joe_stoner - 18.01.2010, 18:46
Re: Menu problem - by Joe Staff - 18.01.2010, 18:51
Re: Menu problem - by joe_stoner - 18.01.2010, 18:53
Re: Menu problem - by Joe Staff - 18.01.2010, 18:57
Re: Menu problem - by joe_stoner - 18.01.2010, 19:02
Re: Menu problem - by Calgon - 18.01.2010, 19:08
Re: Menu problem - by Joe Staff - 18.01.2010, 19:08
Re: Menu problem - by joe_stoner - 18.01.2010, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)