Problem with dialog - 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: Problem with dialog (
/showthread.php?tid=461980)
Problem with dialog -
bustern - 04.09.2013
I made 3 dialogs:Register,Guns and colors dialog.Register and guns dialog works, but when i want to change my color and open colors dialog it gives me gun, not set my color
Look at the last part of code ...SetPlayerColor, but it gives me gun :@
Re: Problem with dialog -
bensmart469 - 04.09.2013
Show us your DIALOGID and COLORS define, e.g.
#define DIALOGID 599
#define COLORS 304
Re: Problem with dialog -
bustern - 04.09.2013
Re: Problem with dialog -
bensmart469 - 04.09.2013
if(dialogid == DIALOGID+2)
This would be the same value as the COLORS dialog, so you need to put a higher number. DIALOGID = 3, DIALOGID + 2 = 5
COLORS = 5
And that code i put above, is DIALOGID + 2
Re: Problem with dialog -
bustern - 04.09.2013
Thx you man, +REP for you !