SA-MP Forums Archive
2 questions - 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: 2 questions (/showthread.php?tid=98552)



2 questions - beckzy - 21.09.2009

I have 2 questions

1) What difference does returning 0 in OnDialogResponse make as opposed of to 1?

2) What is going on with AllowInteriorWeapons? People have mentioned it not working and I have noticed it doesn't work. I thought about it having been removed because there is SetPlayerArmedWeapon now which does the same thing. But it hasn't been announced unlike EnableTirePopping and SetDisabledWeapons etc being removed?


Re: 2 questions - Calgon - 21.09.2009

For 2, it's not hard to replicate that function, now we've got SetPlayerArmedWeapon(). Though it should be fixed or removed.


Re: 2 questions - ғαιιοцт - 21.09.2009

1) It really doesn't matter
2) idk


Re: 2 questions - beckzy - 21.09.2009

OnDialogResponse in test_cmds

Quote:

return 1; // we processed it.

Quote:

return 0; // we didn't handle anything.

How would the outcome be different?


Re: 2 questions - Sayaron - 21.09.2009

Quote:
Originally Posted by BeckzyBoi
OnDialogResponse in test_cmds

Quote:

return 1; // we processed it.

Quote:

return 0; // we didn't handle anything.

How would the outcome be different?
Why do you wanna know that?? It works and thats what matters


Re: 2 questions - shady91 - 21.09.2009

Quote:
Originally Posted by [LRP
Sayaron ]
Quote:
Originally Posted by BeckzyBoi
OnDialogResponse in test_cmds

Quote:

return 1; // we processed it.

Quote:

return 0; // we didn't handle anything.

How would the outcome be different?
Why do you wanna know that?? It works and thats what matters
i thought that BeckzyBoi would of none but its good d to no everything about pawno functions.


Re: 2 questions - Correlli - 21.09.2009

Quote:
Originally Posted by [LRP
Sayaron ]
Why do you wanna know that?? It works and thats what matters
It also matters how something is working.