Jump to content

Question

Posted

Salutare am creeat un dialog pentru /cmds dar nu stiu cum sa fac cu mai multe pagini adica , sa dau pe "Next" si sa apara alta lista ... daca intelegeti ce spun am facut asta dar nu merge

cmds()
{
        new Cmds [ 1900 ];
	    strcat(Cmds, "\t\t\t\t{0049FF}RomaniaGameStunt General Commands{6EF83C}\t\t\t\t\t\t\n", 1900 );
	    strcat(Cmds, "\n", 1900 );
	    strcat(Cmds, "\n", 1900 );
        strcat(Cmds, "/Surfing\n", 1900 );
        strcat(Cmds, "/style\t\n", 1900 );
        strcat(Cmds, "/camera\t\n", 1900 );
        strcat(Cmds, "/buyclothes\t\n", 1900 );
        strcat(Cmds, "/cduel\t\n", 1900 );
        strcat(Cmds, "/arme\t\n", 1900 );
        strcat(Cmds, "/animlist\t\n", 1900 );
        strcat(Cmds, "/pm\t\n", 1900 );
        strcat(Cmds, "/s\t\n", 1900 );
        strcat(Cmds, "/l\t\n", 1900 );
        strcat(Cmds, "/night\t\n", 1900 );
        strcat(Cmds, "/ad\t\n", 1900 );
        strcat(Cmds, "/antifall\t\n", 1900 );
		strcat(Cmds, "/fall\n", 1900 );
        strcat(Cmds, "/walkstyle\n", 1900 );
        strcat(Cmds, "/laseron\n", 1900 );
        strcat(Cmds, "/hold\n", 1900 );
        strcat(Cmds, "/nrg\n", 1900 );
        strcat(Cmds, "/skin\n", 1900 );
        strcat(Cmds, "/ninja\n", 1900 );
        strcat(Cmds, "/day\n", 1900 );
        strcat(Cmds, "/count\n", 1900 );
        strcat(Cmds, "/smok\n", 1900 );
        strcat(Cmds, "/tc[1-3]\n", 1900 );
        return Cmds;
}
cmds1()
{
    new Cmds1 [ 1900 ];
    strcat(Cmds1,"/tune\n", 1900 );
    strcat(Cmds1,"/flip\n", 1900 );
    strcat(Cmds1,"/lock\n", 1900 );
    strcat(Cmds1,"/unlock\n", 1900 );
    strcat(Cmds1,"/up\n", 1900 );
    strcat(Cmds1,"/cp\n", 1900 );
    strcat(Cmds1,"/sex\n", 1900 );
    strcat(Cmds1,"/beer\n", 1900 );
    strcat(Cmds1,"/stop\n", 1900 );
    strcat(Cmds1,"/sunglasses\n", 1900 );
    strcat(Cmds1,"/styles\n", 1900 );
    strcat(Cmds1,"/ironman\n", 1900 );
    strcat(Cmds1,"/duelaccept\n", 1900 );
    strcat(Cmds1,"/duel\n", 1900 );
    strcat(Cmds1,"/car\n", 1900 );
    strcat(Cmds1,"/v\n", 1900 );
    strcat(Cmds1,"/neon\n", 1900 );
    strcat(Cmds1,"/news\n", 1900 );
    strcat(Cmds1,"/sarme\n", 1900 );
    strcat(Cmds1,"/int\n", 1900 );
    strcat(Cmds1,"/laseroff\n", 1900 );
    strcat(Cmds1,"/lasercol\n", 1900 );
    strcat(Cmds1,"/gangwar\n", 1900 );
    strcat(Cmds1,"/fs\n", 1900 );
    return Cmds1;
}
Si la CMD:cmds am "Next" "Close"
CMD:cmds( playerid, params[ ] ) return ShowPlayerDialog( playerid, 040, DIALOG_STYLE_MSGBOX,"{FFCC00}RGS Commands", cmds( ), "Next", "Cancel");

Cum sa fac sa fie mai multe pagini ? cand dau compile imi apare warning ca nu e folosit Cmds1

Cum fac cand dau pe Next sa apara pagina care scrie la Cmds1 ?

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.