Server Unknown Command
#1

Код:
CMD:teszt(playerid, params[]) {
	SendClientMessage(playerid, COLOR_ADMINMSG, "wtf");
	MessageToAdmins(playerid, COLOR_DEATHRED, "asd");
	return 1;
}
Код:
pub:MessageToAdmins(playerid, color, str[])
{
	for(new i=0; i<=MAX_PLAYERS; i++) {
		if(Player[i][admin] > 0) SendClientMessage(i, color, str);
	}
	return 1;
}
When I write /teszt output is:
wtf
asd
SERVER: Unknown command

How to delete "SERVER: Unknown command" ? Sorry bad english skill.
Reply


Messages In This Thread
Server Unknown Command - by Develerux - 11.02.2017, 18:53
Re: Server Unknown Command - by Mic_H - 11.02.2017, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)