ShowPlayerDialog Server closed the connection upon "ESC"..
#1

Hi, here's the command under OnPlayerCommandText

pawn Код:
if (strcmp(cmd, "/factions", true) == 0)
    {
        ShowPlayerDialog(playerid, 2580, DIALOG_STYLE_MSGBOX, "Factions", "1. Politia Romana\n2. F.B.I\n3. Garda Nationala\n4. Medicii\n5. Clanul Dragonu\n6. Clanul Camataru\n7. Guvern\n8. Hitman Agency\n9. Reporterii OG\n10. Speed Taxi\n11. Instructorii\n12. Clanul Macelarilor\n13. Clanul Smecherilor\n14. Clanul Capone\n15. Clanul Corsicanu\n16. V.I.P's", "Done", "");
    }
What it's suppose to do is show a list of factions, and then you can press "Done", but some people don't do that and press "ESC", and it shows Server closed the connection.. as if they got kicked.

Any ideas / help?
Reply


Messages In This Thread
ShowPlayerDialog Server closed the connection upon "ESC".. - by DanishHaq - 04.08.2013, 14:59
Re: ShowPlayerDialog Server closed the connection upon "ESC".. - by 2KY - 04.08.2013, 15:02
Re: ShowPlayerDialog Server closed the connection upon "ESC".. - by DanishHaq - 04.08.2013, 15:03
Re: ShowPlayerDialog Server closed the connection upon "ESC".. - by 2KY - 04.08.2013, 15:05
Re: ShowPlayerDialog Server closed the connection upon "ESC".. - by DanishHaq - 04.08.2013, 15:12

Forum Jump:


Users browsing this thread: 1 Guest(s)