16.02.2011, 12:42
pawn Код:
if( strcmp( cmd, "/help", true ) == 0 )
{
if( !strlen( cmdtext ) ) return SendClientMessage(playerid, ERROR, "Use: /help [MESSAGE]");
new string[ 128 ]; // 128 is the max chat string!
format( string, sizeof string, "[ ! ] %s[ID:%d] asks help:%s", name, playerid, cmdtext[4] );
SendClientMessageToAdmins( string );
SendClientMessage( playerid, GREEN, "You Message Has Been Sent To Online Admins." );
}