Albus Brambůrek 41 Odesláno: 23. Červenec, 2013 Share Odesláno: 23. Červenec, 2013 Ahoj, takže bych se chtěl zeptat jestli nemá někdo ¨zkušenosti s tímto žádné errory to nepíše jen se žádný z dialogů neukáže. Code: new bool:ShowedPlayerDialog[MAX_PLAYERS_EX]; stock ShowPlayerDialogEx(playerid, id, style, lis[], mess[], button1[], button2[]) { if(ShowedPlayerDialog[playerid] == true) return false; ShowPlayerDialog(playerid, id, style, lis, mess, button1, button2); ShowedPlayerDialog[playerid] = true; return true; } A když používám u všeho ShowPlayerDialogEx tak to prostě nefunguje. Děkuji za rady A v OnDialogResponse mám ShowedPlayerDialog[playerid] = false; Link to comment Share on other sites More sharing options...
0 Hlavní moderátor vEnd 279 Odesláno: 23. Červenec, 2013 Hlavní moderátor Share Odesláno: 23. Červenec, 2013 musíš ještě dát do publicu OnDialogResponse nahoru tohle: ShowedPlayerDialog[playerid] = false; Link to comment Share on other sites More sharing options...
0 Albus Brambůrek 41 Odesláno: 23. Červenec, 2013 Author Share Odesláno: 23. Červenec, 2013 Koukni dolů napsal jsem že to tam mám Link to comment Share on other sites More sharing options...
0 Hlavní moderátor vEnd 279 Odesláno: 23. Červenec, 2013 Hlavní moderátor Share Odesláno: 23. Červenec, 2013 Koukni dolů napsal jsem že to tam mám jenže jsi to doplnil až po odeslání mého příspěvku, kdo měl tušit, že jsi to tam měl Link to comment Share on other sites More sharing options...
0 Amenadiel 286 Odesláno: 23. Červenec, 2013 Share Odesláno: 23. Červenec, 2013 jenže jsi to doplnil až po odeslání mého příspěvku, kdo měl tušit, že jsi to tam měl divne já to videl než si to napsal Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 23. Červenec, 2013 Share Odesláno: 23. Červenec, 2013 toto iste je aj v Technotomovom Bank systeme a mňe to faka new bool:ShowedPlayerDialog[MAX_PLAYERS]; stock ShowPlayerDialogEx(playerid, id, style, lis[], mess[], button1[], button2[]) { if(ShowedPlayerDialog[playerid] == true) return false; ShowPlayerDialog(playerid, id, style, lis, mess, button1, button2); ShowedPlayerDialog[playerid] = true; return true; } #define ShowPlayerDialog ShowPlayerDialogEx skus to spravit takto ale toto takto musí byt po kope Link to comment Share on other sites More sharing options...
0 Albus Brambůrek 41 Odesláno: 23. Červenec, 2013 Author Share Odesláno: 23. Červenec, 2013 toto iste je aj v Technotomovom Bank systeme a mňe to faka new bool:ShowedPlayerDialog[MAX_PLAYERS]; stock ShowPlayerDialogEx(playerid, id, style, lis[], mess[], button1[], button2[]) { if(ShowedPlayerDialog[playerid] == true) return false; ShowPlayerDialog(playerid, id, style, lis, mess, button1, button2); ShowedPlayerDialog[playerid] = true; return true; } #define ShowPlayerDialog ShowPlayerDialogEx skus to spravit takto ale toto takto musí byt po kope Kouknu na to Ok funguje Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 23. Červenec, 2013 Share Odesláno: 23. Červenec, 2013 rád som pomohol Link to comment Share on other sites More sharing options...
Dotaz
Albus Brambůrek 41
Ahoj, takže bych se chtěl zeptat jestli nemá někdo ¨zkušenosti s tímto žádné errory to nepíše jen se žádný z dialogů neukáže.
Code:
A když používám u všeho ShowPlayerDialogEx tak to prostě nefunguje.
Děkuji za rady
A v OnDialogResponse mám
Link to comment
Share on other sites
7 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now