16.02.2011, 15:02
Ther ya go
TELL ME IF IT WORKES
pawn Код:
if( strcmp(cmd,"/help",true ) == 0)
{
if(!strlen(cmdtext)) return SendClientMessage(playerid, ERROR, "Use: /help [MESSAGE]");
new string[123];
format( string, sizeof string, "[!] %s[ID:%d] asks help: %s", name, playerid, cmdtext[5] ); //Use 5 becouse 4 doesn't get rid of the last letter of HELP witch is P thats why it comes up with p.....
SendClientMessageToAdmins(string);
SendClientMessage( playerid, GREEN, "You Message Has Been Sent To Online Admins." );
}