Need help in /giveallscore (rep++)
#2

try this:

pawn Код:
dcmd_giveallscore(playerid,params[])
{
    if(AccInfo[playerid][Level] >= 3)
    {
        SendCommandToAdmins(playerid,"ScoreAll");
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
        if(IsPlayerConnected(i) && (i != playerid) && i != ServerInfo[MaxAdminLevel])
        {
        SetPlayerScore(i, strval(params));
        }
        }
        new string[128];
        format(string,sizeof(string),"|- Administrator \"%s\" has set all players score to %d -|", pName(playerid),strval(params));
        return SendClientMessageToAll(blue, string);
    }
    else return ErrorMessages(playerid, 6);
}
Reply


Messages In This Thread
Need help in /giveallscore (rep++) - by iOmar - 29.04.2012, 07:19
Re: Need help in /giveallscore (rep++) - by Crazymax - 29.04.2012, 07:22
Re: Need help in /giveallscore (rep++) - by iOmar - 29.04.2012, 08:12
Re: Need help in /giveallscore (rep++) - by JaKe Elite - 29.04.2012, 08:27
Re: Need help in /giveallscore (rep++) - by $$inSane - 29.04.2012, 08:38
Re: Need help in /giveallscore (rep++) - by Mean - 29.04.2012, 08:40
Re: Need help in /giveallscore (rep++) - by $$inSane - 29.04.2012, 08:42
Re: Need help in /giveallscore (rep++) - by Mean - 29.04.2012, 08:44
Re: Need help in /giveallscore (rep++) - by iOmar - 29.04.2012, 10:07

Forum Jump:


Users browsing this thread: 2 Guest(s)