02.03.2012, 16:56
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;
}
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;
}