04.08.2013, 14:59
Hi, here's the command under OnPlayerCommandText
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?
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", "");
}
Any ideas / help?