02.03.2012, 16:53
I have not edited it from /mycommand yet but.
It says "SERVER: Unknown Command"
Also how do I change it from
"SERVER: Unknown command"
To
"[RpF Clan] Command Unreconised.
And Script in a faction
It says "SERVER: Unknown Command"
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext))
{
if(!IsPlayerAdmin(playerid))
{
SendClientMessage(playerid, 0xFF0000, "You are not authorised to use this command.");
}
else
{
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}RCON ADMIN: {FF0000}INSERT COMMANDS");
}
}
return 1;
}
"SERVER: Unknown command"
To
"[RpF Clan] Command Unreconised.
And Script in a faction


