15.06.2014, 14:08
pawn Код:
CMD:helpme(playerid,params[])
{
new str[128];
if(sscanf(params,"s[128]",str)
{
SendClientMessage(playerid,-1,"/helpme [text/question]");
return 1;
}
else
{
new i;
for(i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pHelper] >=5) //Level/Rank according to you.
{
SendClientMessage(i,-1,str);
}
}
}
}
return 1;
}