Need help with /help [message] command.
#7

Ther ya go
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." );
}
TELL ME IF IT WORKES
Reply


Messages In This Thread
Need help with /help [message] command. - by Randomai - 16.02.2011, 06:06
Re: Need help with /help [message] command. - by park4bmx - 16.02.2011, 06:45
Re: Need help with /help [message] command. - by Mean - 16.02.2011, 09:45
Re: Need help with /help [message] command. - by Randomai - 16.02.2011, 12:40
Re: Need help with /help [message] command. - by wups - 16.02.2011, 12:42
Re: Need help with /help [message] command. - by Randomai - 16.02.2011, 12:47
Re: Need help with /help [message] command. - by park4bmx - 16.02.2011, 15:02
Re: Need help with /help [message] command. - by HyperZ - 16.02.2011, 15:07
Re: Need help with /help [message] command. - by JaTochNietDan - 16.02.2011, 15:35
Re: Need help with /help [message] command. - by Calgon - 16.02.2011, 17:40

Forum Jump:


Users browsing this thread: 2 Guest(s)