Problem with dialog
#1

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
pawn Код:
DELETED
Look at the last part of code ...SetPlayerColor, but it gives me gun :@
Reply
#2

Show us your DIALOGID and COLORS define, e.g.
#define DIALOGID 599
#define COLORS 304
Reply
#3

pawn Код:
DELETED
Reply
#4

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
Reply
#5

Thx you man, +REP for you !
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)