DIALOG SPOOF PROBLEM
#2

You have to save the player dialogid in the pvar while using command

Код:
CMD:rapid(playerid, params[])
{
    if(PlayerInfo[playerid][pFaction] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pFaction] == 17 || PlayerInfo[playerid][pLeader] == 17)
    {
        SetPVarInt(playerid, "dialog", RRMENU);
        ShowPlayerDialog(playerid, RRMENU, DIALOG_STYLE_LIST, "Rapid Recovery","Rapid Uniforms\nRapid Equipment\nRefill Health($1000)\nKevlar Vest($1000)\nMechanic Job", "Select", "Cancel");
    }
    return 1;
}
You have to change all dialogs like that or you can hook ShowPlayerDialog.

@down - yes, you are right, my bad, edited.
Reply


Messages In This Thread
DIALOG SPOOF PROBLEM - by cedizon - 18.05.2014, 06:12
Re: DIALOG SPOOF PROBLEM - by ball - 18.05.2014, 07:55
Re: DIALOG SPOOF PROBLEM - by jihadmeneer - 18.05.2014, 08:39
Re: DIALOG SPOOF PROBLEM - by cedizon - 18.05.2014, 12:31

Forum Jump:


Users browsing this thread: 1 Guest(s)