Command Problem
#1

Hey, this is my 3 commands.../teleports and /prikazy1 are working but the third one /prikazy2 is not...and i don't know why.

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
        if (strcmp("/teleports", cmdtext, true, 10) == 0)
        {
                ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"{9D0000}Te{FFFFFF}le{9D0000}po{FFFFFF}rt{9D0000}y","{FFFF00}Pershing {FFFFFF}Square\n{FFFF00}Groove {FFFFFF}Street\n{FFFF00}Temple {FFFFFF}Drive\n{FFFF00}Verona {FFFFFF}Beatch\n{FFFF00}Vysoky {FFFFFF}Zoskok","Teleport","Odchod");
                return 1;
        }
        if (strcmp(cmdtext, "/prikazy1", true) == 0)
                ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Moderбtor - Prнkazy","Level 1:\n\n/getinfo\n/weaps\n/ping\n/ip\n/fix\n/repair\n/addnos\n/tcar\n/savepleace\n/gotoplace\n/onduty\n/saveskin\n/useskin\n/dontuseskin\n/setmytime\n/adminarea\n/lconfig\n/viplist\n/morning\n/reports\n/richlist\n/miniguns","OK","OK");
		return 1;
 	  	}
 	  	if (strcmp(cmdtext, "/prikazy2", true) == 0)
                ShowPlayerDialog(playerid,0,DIALOG_STYLE_MSGBOX,"Moderбtor Level 2 - Prнkazy","Level 2:\n\n+Level 1 prнkazy\n\n/giveweapon\n/setcolour\n/burn\n/spawn\n/disarm\n/highlight\n/jetpack\n/flip\n/fu\n/warn\n/slap\n//(un)mute\n/laston\n/lspec\n/lspecoff\n/acar\n/abike\n/aboat\n/aplane\n/lspecvehicle\n/goto\n/vgoto\n/lgoto\n/lmenu\n/clearchat\n/write\n/announce\n/announce2\n/screen\n/(un)lockcar\n/wanted\n/jailed\n/frozen\n/muted\n/fstyles","OK","OK");
		return 1;
it is showing the error on: if (strcmp(cmdtext, "/prikazy2", true) == 0)
: return 1;
Reply


Messages In This Thread
Command Problem - by lsreskjn - 23.06.2013, 21:06
Re: Command Problem - by Mafiaday - 23.06.2013, 21:21
Re: Command Problem - by lsreskjn - 23.06.2013, 21:23
Re: Command Problem - by smeti - 23.06.2013, 21:27
Re: Command Problem - by Mafiaday - 23.06.2013, 21:30
Re: Command Problem - by lsreskjn - 23.06.2013, 21:31
Re: Command Problem - by NeonjaSAMP - 23.06.2013, 21:35
Re: Command Problem - by lsreskjn - 23.06.2013, 21:56
Re: Command Problem - by SilverKiller - 23.06.2013, 22:10
Re: Command Problem - by lsreskjn - 23.06.2013, 22:12

Forum Jump:


Users browsing this thread: 2 Guest(s)