Dialogs and ID's problem - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialogs and ID's problem (
/showthread.php?tid=249644)
Dialogs and ID's problem -
rekatluos - 19.04.2011
Ok so i have 2 filterscripts that have different dialog id's but when they are both turned on they do not work.... i dont know how to fix this since the dialog id's are already different ,why do they "kill" each other ?
also my second question is about car dealership scripts : i've got a RP gamemode (an edit of GF) but it doesnt have car ownership and if i add any car ownership script it "randoms" the faction cars (i dont know how to say that so ill explain it , i can't enter a gang car cause it says its NG because of the filterscripts)
thx in advance
Re: Dialogs and ID's problem -
Anteino - 19.04.2011
Quote:
Originally Posted by rekatluos
Ok so i have 2 filterscripts that have different dialog id's but when they are both turned on they do not work.... i dont know how to fix this since the dialog id's are already different ,why do they "kill" each other ?
|
I had the same problem and it really got me frustrated, but then I learned you should put
before every "}"
let me know if that helped you
Re: Dialogs and ID's problem -
rekatluos - 20.04.2011
i didnt add return 0 before every } just to the dialogs and some other where it was return 1 and it works like a charm, i fixed 3 filterscripts (then i couldnt use any of them in combination with another)
thx man ,im forever in your dept
Re: Dialogs and ID's problem -
AK47317 - 20.04.2011
you had to made a value for those dialog example:
pawn Код:
new
iMenu1 = 1997 ,
iMenu2 = 1998 ;
for other make other value number that suitable to you if the menu doesn't have the value it might go bugged
Re: Dialogs and ID's problem -
rekatluos - 20.04.2011
one of them has #define DIALOGID 1338
and it uses if(dialogid == DIALOGID) and if(dialogid == DIALOGID+1) instead of numbers ..if this is what you meant and still got bugged
Re: Dialogs and ID's problem -
Anteino - 20.04.2011
Quote:
Originally Posted by rekatluos
i didnt add return 0 before every } just to the dialogs and some other where it was return 1 and it works like a charm, i fixed 3 filterscripts (then i couldnt use any of them in combination with another)
thx man ,im forever in your dept 
|
I'm just happy to share information which was recently shared with me. Try search next time