Strcmd Help
#2

try with

if (!strcmp("/mycommand", cmdtext))

And about second, there it is:

public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if( !success ) return SendClientMessage( playerid,-1,"Command does not exist! Check /commands!");
return 1;
}
Reply


Messages In This Thread
Strcmd Help - by sanplayer - 02.03.2012, 16:53
Re: Strcmd Help - by aco_SRBIJA - 02.03.2012, 16:56
Re: Strcmd Help - by Champ - 02.03.2012, 17:00
Re: Strcmd Help - by sanplayer - 02.03.2012, 17:03
Re: Strcmd Help - by aco_SRBIJA - 02.03.2012, 17:08
Re: Strcmd Help - by sanplayer - 02.03.2012, 17:08
Re: Strcmd Help - by sanplayer - 02.03.2012, 17:13
Re: Strcmd Help - by Chrillzen - 02.03.2012, 17:36

Forum Jump:


Users browsing this thread: 1 Guest(s)