OnPlayerModelSelectionEx - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerModelSelectionEx (
/showthread.php?tid=536813)
OnPlayerModelSelectionEx -
ranme15 - 12.09.2014
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!
Re: OnPlayerModelSelectionEx -
IamPRO - 12.09.2014
Removed.
Re: OnPlayerModelSelectionEx -
ranme15 - 12.09.2014
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)
Re: OnPlayerModelSelectionEx -
IamPRO - 12.09.2014
OnPlayerModelSelectionEx(playerid, response, extraid, modelid) Looks like it is not possible as there is no parameter for checking listitem.