ShowPlayerDialog
#1

Because I have about twenty commands, I need to make "Next Page".
I saw some of the topics others post but I didn't understand how to make it.
So if someone wants to help me!
This is the commands, because I can't compile it in one line, I made /cmds2.
How can I make Part1 + Part2 with "Next Page" to go to the 2nd and "Back" to go from 2nd to 1st.
pawn Код:
if (strcmp(cmdtext, "/cmds", true) == 0) {
        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_MSGBOX, "{00FFFF}Commands", "/bones - It changes body parts for the holds, It needs num4 & num6\n/buyweapons - Buy some cheap weapons\n/carmenu - Vehicles Gategories\n/cartune - Tune the car\n/changeskin <id> - Change Skin\n/g <name/id> - Teleport to a player/bot\n/help - If you want some help!\n/hold <modelid> - Hold objects\n/jetpack - Spawn jetpack\n/kill - Suicide\n* Kostas' - The command itself\n/neon - Set neon on under your car", "Cancel", "OK");
        return 1;
    }
    if (strcmp(cmdtext, "/cmds2", true) == 0) {
        ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX, "{00FFFF}Commands", "/para or /parachute - Spawn parachute\n/search - Type a word and it searchs for possible holds  'ex: hat'\n/ssb 1-3 - it set SpeedBoost on your car <1 - off, 2 - medium, 3 - high>/time 0-23 - Change time 0 to 23\n/teles - See the teleports\n/v [part of name] - Spawn a vehicle. Note: You can use /v [part of name] <color1> <color2>\n/vcontrol - Control you car <Alarm, Bonnet, Boot, Doors, Engine, Lighting>", "Cancel", "OK");
        return 1;
    }
Reply


Messages In This Thread
ShowPlayerDialog - by Kostas' - 12.10.2011, 08:38
Re: ShowPlayerDialog - by iJumbo - 12.10.2011, 08:47
Re: ShowPlayerDialog - by Rachael - 12.10.2011, 08:55
Re: ShowPlayerDialog - by Kostas' - 12.10.2011, 09:02

Forum Jump:


Users browsing this thread: 2 Guest(s)