SA-MP Forums Archive
Please help me ! - 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: Please help me ! (/showthread.php?tid=285400)



Please help me ! - dundolina - 24.09.2011

Hello! Once I click on a menu that say this picture disappears http://imageshack.us/photo/my-images/4/samp005rc.png/ everything and sent to a player. I can not choose weapons, location and other options. The same happens when GarHouse 2.0. Please help me to fix it. Thanks in advance to all who answered to the topic.


Re: Please help me ! - =WoR=G4M3Ov3r - 24.09.2011

I don't get what you mean.. Do you mean when you "Select" something in the dialog picture you've posted, the dialog box disappears ?


Re: Please help me ! - dundolina - 24.09.2011

Do exactly what I mean .. If you help me I would be very grateful!


Re: Please help me ! - [MWR]Blood - 24.09.2011

All OnPlayerDialogResponse callbacks must return 0.


Re: Please help me ! - dundolina - 24.09.2011

If it is in fashion, I do not show it or not there?


Re: Please help me ! - [MWR]Blood - 24.09.2011

pawn Код:
OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
//ALL CODE HERE...
return 0; // <-  Dialogresponse callback must return 0 on ALL scripts you use.



Re: Please help me ! - CmZxC - 24.09.2011

@Blood :
Then how come the fresh script ( Pawno > New ) gives you these lines ?

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 1;
}



Re: Please help me ! - [MWR]Blood - 24.09.2011

https://sampwiki.blast.hk/wiki/OnDialogResponse

Read before attempting to troll me.


Re: Please help me ! - dundolina - 24.09.2011

Don't work :@ Help ?


Re: Please help me ! - [MWR]Blood - 24.09.2011

Assure that dialog numbers are not conflicting.