Could you help me with a script :)
#7

hmm you know what, using a dialog is much easier than a menu, here's a link, https://sampwiki.blast.hk/wiki/ShowPlayerDialog

after you create the dialog use this ,
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOGID) //use the ID of the dialog you created,
    {
        if(response)
        {
            if(listitem == 0)  && IsPlayerInPlane(playerid) // so only people in planes can use this
            {
                SetPlayerMapIcon(playerid,0,x,y,z,type,color);
 //you also need to put the timer here
                          }
                  }
        }
}
Reply


Messages In This Thread
Could you help me with a script :) - by OoAMoO - 04.06.2011, 12:11
Re: Could you help me with a script :) - by xalith - 04.06.2011, 12:40
Re: Could you help me with a script :) - by OoAMoO - 04.06.2011, 13:38
Re: Could you help me with a script :) - by AlternativeDC - 04.06.2011, 13:46
Re: Could you help me with a script :) - by OoAMoO - 04.06.2011, 14:07
Re: Could you help me with a script :) - by OoAMoO - 04.06.2011, 14:34
Re: Could you help me with a script :) - by xalith - 04.06.2011, 14:50

Forum Jump:


Users browsing this thread: 1 Guest(s)