15.09.2012, 17:59
pawn Код:
CMD:helpme(playerid, params[])
{
new string[128], sendername[MAX_PLAYER_NAME];
if(isnull(params)) return SendClientMessage(playerid, COLOR_SYNTAX,"[SYNTAX]: /helpme [Description]");
GetPlayerName(playerid,sendername,sizeof(sendername));
format(string,sizeof(string),"[INFO]: %s has requested for help: %s", sendername, params);
HBroadCast(ORANGE,string,1);
SendClientMessage(playerid, GREEN,"[INFO]: You have requested for help, please wait for a reply");
PlayerNeedsHelp[playerid] = 1;
return 1;
}