Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- 1. Na gorze kodu
- */
- #define ShowPlayerDialog ShowSafeDialog
- /*
- 2. Gdzies na dole kodu
- */
- stock ShowSafeDialog(playerid, dialogid, style, caption[], info[], button1[], button2[]) {
- SetPVarInt(playerid, "DialogID", dialogid);
- ShowPlayerDialog(playerid, dialogid, style, caption, info, button1, button2);
- }
- /*
- 3. Na gorze Callbacku (Funkcji) OnDialogResponse
- */
- if(GetPVarInt(playerid, "DialogID") != dialogid) {
- dialogid = GetPVarInt(playerid, "DialogID");
- }
Add Comment
Please, Sign In to add comment