switch max value 194? - 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: switch max value 194? (
/showthread.php?tid=613067)
switch max value 194? -
Spenker - 24.07.2016
Dialog not call.
HTML Code:
ShowPlayerDialog(playerid, DIALOG_SELLSKIN, DIALOG_STYLE_MSGBOX, "Sell Skin", "Test Dialog", "Next", "Cancel");
HTML Code:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
case DIALOG_SELLSKIN:
{
if(!response) printf("call");
if(response) printf("call2");
}
return 1;
}
HTML Code:
#define DIALOG_SELLSKIN 194
Re: switch max value 194? -
BiosMarcel - 24.07.2016
This is called the dialog ID
not a max value to anything, you can change the value at anytime , but there shouldnt be two of the same