Help Please
#1

i need a help.If a player used a unknown command it should show...
"This command is not exist do /help for more informations"
how to do that?
Reply
#2

You use zcmd or cmdtext?
Reply
#3

cmdtext
Reply
#4

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
return SendClientMessage(playerid,COLOR,"SERVER: All commands /help");
}
Reply
#5

ok its done ty
Reply
#6

How to do that w ZCMD?
Reply
#7

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
How to do that w ZCMD?
pawn Код:
public OnPlayerCommandPerformed(playerid,cmdtext[],success)
{
if(!success) return SendClientMessage(playerid,COLOR,"SERVER: All commands /help");
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)