16.07.2011, 04:14
(
Последний раз редактировалось Kush; 16.07.2011 в 05:17.
)
Sounds simple enough.
This is a simple example, which would Send the message to all players if someone needs help. What ever variables you have included into your gamemode regarding Helpers/Admins, you would need to make minor edits to the command posted.
pawn Код:
CMD:requesthelp(playerid, params[])
{
new Sender[MAX_PLAYER_NAME];
new Str[128];
GetPlayerName(playerid, Sender, sizeof(Sender));
if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /requesthelp [reason]");
format(Str, sizeof(Str), "[Help Needed] %s: %s", Sender, params);
SendClientMessageToAll(COLOR_LIGHTBLUE, Str);
return 1;
}