27.02.2013, 21:58
ZCMD commands do not go inside of a callback.
pawn Код:
CMD:am( playerid, params[] )
{
if( IsPlayerAdmin ( playerid ) )
{
if( isnull ( params ) )
{
SendClientMessageToAll ( COLOR_LIGHTBLUE, params );
}
else return SendClientMessage ( playerid, -1, "USAGE: /am [ text ]" );
// They typed /am with nothing after it.
}
else return false; // No permissions.
return true;
}