command isint working
#1

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if(!strcmp(cmdtext, "/kill", true))
	{
		SetPlayerHealth(playerid, 0);
		return true;
	}

	if(!strcmp(cmdtext, "/kmisija", true))
	{
	    if( zInfo[ playerid ][ Admin ] < 1) return 0;
		new msg[ 180 ];
		format(msg, 180, "[ 1 ] Armijos Maљina\n[ 2 ] Katafalko vogimas\n[ 3 ] Љviturys\n[ 4 ] Dviračių lenktynės\n[ 5 ] Malunsparnis\n[ 6 ] Piktos Babces\n[ 7 ] Parkour\n[ 8 ] GunGame\n[ 9 ] Motoroleriai");
		ShowPlayerDialog(playerid,2,DIALOG_STYLE_LIST,"{9900cc}Misijos",msg,"Keisti","Iseiti");
		return true;
	}
	return 0;
}
/kill is working but /kmisija not, even i'm admin
Reply


Messages In This Thread
command isint working - by ancezas - 02.01.2013, 20:09
Re: command isint working - by aslan890 - 02.01.2013, 20:16
Re: command isint working - by aslan890 - 02.01.2013, 20:22

Forum Jump:


Users browsing this thread: 1 Guest(s)