OnPlayerModelSelectionEx
#1

Hello,

I am using mSelection include (https://sampforum.blast.hk/showthread.php?tid=407045).

My question is, is there any way to check the clicked box id?
Like OnDialogResponse has "listitem", how can I check what box has been clicked? thanks!
Reply
#2

Removed.
Reply
#3

Quote:
Originally Posted by IamPRO
Посмотреть сообщение
use something like:
pawn Код:
public OnPlayerModelSelection(playerid, response, listid, modelid)
{
    if(listid == weplist)//id of the list
    {
        if(response)//if responsed
        {
            switch(modelid)
            {
            case 0://it is the object id.
                {
I know it has the "modelid" parameter, but I need to check what box has been clicked, not modelid. (incase I have 2 models in different boxes)
Reply
#4

OnPlayerModelSelectionEx(playerid, response, extraid, modelid) Looks like it is not possible as there is no parameter for checking listitem.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)