Little help! +Rep
#6

YCMD:
pawn Код:
CMD:giveteamscore(playerid,params[])
{
    if(PlayerAcc[playerid][AdminLevel] >= 5)//here your admin level
    {
        new teamid, score;
        if(!sscanf(params, "ui", teamid,score))
        {
            GiveTeamScore(teamid, score);
            new pstring[400];
            format(pstring,sizeof(pstring),"Admin %s has given team %s %d score",playerid,teamid,score);
            SendClientMessage(teamid,COLOR_YELLOW,pstring);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Little help! +Rep - by Nirzor - 30.08.2012, 16:43
Re: Little help! +Rep - by Faisal_khan - 30.08.2012, 16:46
Re: Little help! +Rep - by Nirzor - 30.08.2012, 16:50
Re: Little help! +Rep - by Faisal_khan - 30.08.2012, 16:51
Re: Little help! +Rep - by Nirzor - 30.08.2012, 16:58
Re: Little help! +Rep - by Faisal_khan - 30.08.2012, 17:08

Forum Jump:


Users browsing this thread: 1 Guest(s)