SA-MP Forums Archive
dialog help? - 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: dialog help? (/showthread.php?tid=594343)



dialog help? - N0FeaR - 16.11.2015

Код:
C:\Users\Jeffner\Desktop\Roleplay\gamemodes\rp.pwn(1823) : error 017: undefined symbol "response"
PHP код:
#define DIALOG_DUTY 700 
PHP код:
        }
        case 
DIALOG_DUTY:
        {
            switch(
response)
            {
                case 
0SetPlayerColor(playerid,COLOR_WHITE);
                case 
1SetPlayerColor(playerid,0x8080FFAA); 



Re: dialog help? - jlalt - 16.11.2015

Can you show how you're making the dialog?

You sure you put response code after: public ondialogresponse(..) {
....?


Re: dialog help? - N0FeaR - 16.11.2015

Quote:
Originally Posted by jlalt
Посмотреть сообщение
Can you show how you're making the dialog?

You sure you put response code after: public ondialogresponse(..) {
....?
I found out lol my mistake, thank you anyway