[AJUDA]Unknow Command
#1

Pow, eu baixei um GM quase vazio, veio com alguns comandos e tal. Mas pra eu criar novos comandos, eu crio o comando certinho, ele executa no server. Veja um exemplo:
Код:
    if (strcmp("/armas", cmdtext, true, 10) == 0)
    {
	new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
    format(string, sizeof(string), "%s Se equipou(/armas).", pname);
    SendClientMessageToAll(COR_LARANJA, string);
    SendClientMessage(playerid, COLOR_YELLOW, "Vocк se equipou.");
	GivePlayerWeapon(playerid,46);
    GivePlayerWeapon(playerid,22,9999);
    GivePlayerWeapon(playerid,23,9999);
    GivePlayerWeapon(playerid,24,9999);
    GivePlayerWeapon(playerid,25,9999);
    GivePlayerWeapon(playerid,29,9999);
    GivePlayerWeapon(playerid,30,9999);
    GivePlayerWeapon(playerid,31,9999);
    GivePlayerWeapon(playerid,32,9999);
    GivePlayerWeapon(playerid,16,9999);
    GivePlayerWeapon(playerid,28,9999);
    GivePlayerWeapon(playerid,34,9999);
	return 1;
    }
No server fica assim: D4RK_S0RC3R3R se equipou(/armas). (No caso D4RK_S0RC3R3R й meu nome e essa mensagem й para todos.)
Vocк se equipou. ( Mensagem apenas para o Player )
SERVER:Unknown Command

Entгo fica:

D4RK_S0RC3R3R se equipou(/armas).
Vocк se equipou.
SERVER:Unknown Command

Mas o comando executa.
Alguem pode me ajudar a tirar o Unknown Command?
Reply


Messages In This Thread
[AJUDA]Unknow Command - by Keiichi - 29.05.2011, 01:53
Re: [AJUDA]Unknow Command - by Ricop522 - 29.05.2011, 02:05
Re: [AJUDA]Unknow Command - by Keiichi - 29.05.2011, 02:11
Re: [AJUDA]Unknow Command - by Ricop522 - 29.05.2011, 02:19
Re: [AJUDA]Unknow Command - by Keiichi - 29.05.2011, 02:44
Re: [AJUDA]Unknow Command - by Ricop522 - 29.05.2011, 04:10
Re: [AJUDA]Unknow Command - by Keiichi - 29.05.2011, 14:04

Forum Jump:


Users browsing this thread: 1 Guest(s)