how to define this
#8

pawn Код:
new ClickedPlayerID[MAX_PLAYERS]; // at the top
if(listitem == 1) {
                new You[MAX_PLAYER_NAME];
                GetPlayerName(ClickedPlayerID[playerid],You,MAX_PLAYER_NAME);
                SetPVarInt(playerid,"ClickedPlayer",ClickedPlayerID[playerid]);
                ShowPlayerDialog(playerid,909,DIALOG_STYLE_INPUT,"private Message!","Write Your Message Here","Send","Close");
                }


public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
ClickedPlayerID[playerid] = clickedplayerid;  
ShowPlayerDialog(playerid,1909,DIALOG_STYLE_LIST,"Player","Action \nPM\nStats\nTeleport","Select","Close");
    return 1;
}
didn't test
Reply


Messages In This Thread
how to define this - by misho1 - 08.03.2012, 21:31
Re: how to define this - by ReneG - 08.03.2012, 21:37
Re: how to define this - by misho1 - 09.03.2012, 08:16
Re: how to define this - by eesh - 09.03.2012, 09:43
Re: how to define this - by misho1 - 09.03.2012, 09:52
Re: how to define this - by eesh - 09.03.2012, 10:00
Re: how to define this - by misho1 - 09.03.2012, 10:34
Re: how to define this - by rati555 - 09.03.2012, 10:39
Re: how to define this - by misho1 - 09.03.2012, 10:44
Re: how to define this - by misho1 - 09.03.2012, 11:11

Forum Jump:


Users browsing this thread: 3 Guest(s)