21.09.2011, 11:35
Quote:
If you would use the stored dialogid instead of the passed value, it can be used for anti-dialog hack aswell:
pawn Код:
also, a friendly idea: if you use PVar (which is slower than static variable) for storing dialog ID, the script will be cross compatible, e.g. in FilterScript1 there is a ShowPlayerDialog with id 1435, you can use GetPlayerDialog in FilterScript2 or in GameMode and it will return 1435. BTW, good idea. ![]() Edit: also you're doing it wrong with CallLocalFunction. You only pass the first 3 integers, change "iii" to "iiiis". |
It returns the dialogid, of the currently showed dialog for the player.
I wrote an example in the first page.