if(strcmp("/zivot", cmdtext) == 0) { SetPlayerHealth(playerid,100); // Nastavi zivot na 100 SendClientMessage(playerid, 0x800080FF, "[ Server ] Zivot nastaveny na 100HP."); }
Hey, this is my command for health...it s show the message and the command is working but i also shows in chat SERVER:unknow command
Код:
if(strcmp("/zivot", cmdtext) == 0) { SetPlayerHealth(playerid,100); // Nastavi zivot na 100 SendClientMessage(playerid, 0x800080FF, "[ Server ] Zivot nastaveny na 100HP."); } |
if(strcmp("/zivot", cmdtext) == 0) { SetPlayerHealth(playerid,100); // Nastavi zivot na 100 SendClientMessage(playerid, 0x800080FF, "[ Server ] Zivot nastaveny na 100HP."); return 1; }
if(strcmp("/zivot", cmdtext) == 0)
{
SetPlayerHealth(playerid,100); // Nastavi zivot na 100
SendClientMessage(playerid, 0x800080FF, "[ Server ] Zivot nastaveny na 100HP.");
return 1;
}