11.04.2014, 12:23
Hi there my server has no system to return message if someone enters an unavailable command i tried to make one but didnt work heres my try:
Please help me out.
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
new string[128];
format(string, sizeof(string), "[cmd] [%s]: %s", GetPlayerName(playerid), cmdtext);
print(string);
if(!success)
{
SendClientMessage(playerid, COLOR_GREY, "** Sorry you have entered a command that doesnt exist.");
}
return 1;
}


