27.01.2015, 06:32
try this:
then just let the admins pm the player
pawn Код:
CMD:newb(playerid,params[])
{
new str[80];
if(sscanf(params,"s[80]",str)) SendClientMessage(playerid,-1,"Usage : /newb [question]");
new name[MAX_PLAYER_NAME],msg[110];
GetPlayerName(playerid,name,20);
format(msg,sizeof(msg),"[HELP NEEDED]%s(%d) : %s",name,playerid,str);
for(new i=0;i<MAX_PLAYERS;++i)
{
if(IsPlayerConnected(i) && PlayerInfo[i][Admin] >= 1) || IsPlayerAdmin(i))
SendClientMessage(i,-1,msg);
}
SendClientMessage(playerid,-1, "Question sent, admins will respond as soon as possible");
return 1;
}
