#11

this is what i use

Код:
new string[256],string2[256];
	new clickedplayer[MAX_PLAYER_NAME];
	ClickedPlayerID[playerid] = clickedplayerid;
  GetPlayerName(clickedplayerid, clickedplayer, sizeof(clickedplayer));
  format(string, sizeof(string), "Player %s (%d) Menu", clickedplayer,clickedplayerid);
  if (PlayerInfo[playerid][pAdmin] == 0)
	{
		format(string2, sizeof(string2), "Stats\nPersonal Message\nGive Money\n");
	}
  if (PlayerInfo[playerid][pAdmin] > 0)
	{
		format(string2, sizeof(string2), "Stats\nPersonal Message\nGive Money\nAdmin Menu");
  }
  ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, string, string2, "Select", "Cancel");
just want to point out that's just a small part of it


Quote:
Originally Posted by Gergo1352
Quote:
Originally Posted by Beaver07
Код:
clickedplayerid = ClickedPlayerID[playerid];
It should be:

Код:
ClickedPlayerID[playerid] = clickedplayerid;
also yes i forgot wrong way round
Reply


Messages In This Thread
PM - by _ReloadeD_ - 18.10.2009, 14:09
Re: PM - by Gergo1352 - 18.10.2009, 14:21
Re: PM - by _ReloadeD_ - 18.10.2009, 14:26
Re: PM - by Beaver07 - 18.10.2009, 14:29
Re: PM - by Gergo1352 - 18.10.2009, 14:34
Re: PM - by _ReloadeD_ - 18.10.2009, 14:37
Re: PM - by Think - 18.10.2009, 14:43
Re: PM - by Gergo1352 - 18.10.2009, 14:45
Re: PM - by _ReloadeD_ - 18.10.2009, 14:46
Re: PM - by _ReloadeD_ - 18.10.2009, 14:47
Re: PM - by Beaver07 - 18.10.2009, 14:52
Re: PM - by Gergo1352 - 18.10.2009, 14:53
Re: PM - by _ReloadeD_ - 18.10.2009, 14:56
Re: PM - by Gergo1352 - 18.10.2009, 15:03
Re: PM - by _ReloadeD_ - 18.10.2009, 15:10
Re: PM - by MenaceX^ - 18.10.2009, 15:12
Re: PM - by _ReloadeD_ - 18.10.2009, 17:31
Re: PM - by _ReloadeD_ - 19.10.2009, 06:45

Forum Jump:


Users browsing this thread: 1 Guest(s)