if command successed
#4

If you mean like error message if the player type a command that don't exist try using this, that's what i use (I'm using YCMD):
Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success){
if(success == 0)return SendClientMessage(playerid, COLOR_GRAY2, "SERVER: Unknown command, use /help for further help.");//If player writes command wrong this will still return it as a true.
}
Hope it helped, otherwise describe more thanks
Reply


Messages In This Thread
if command successed - by Opah - 21.08.2012, 08:03
Re: if command successed - by Ranama - 21.08.2012, 08:09
Re: if command successed - by Opah - 21.08.2012, 08:15
Re: if command successed - by Ranama - 21.08.2012, 08:25
Re: if command successed - by Opah - 21.08.2012, 08:35
Re: if command successed - by Ranama - 21.08.2012, 08:50

Forum Jump:


Users browsing this thread: 1 Guest(s)