giving scores to noobies
#4

Using ZCMD:

pawn Код:
CMD:givenoobscore(playerid,params[])
{
    new targetid,score;
    if(sscanf(params,"ui",targetid,score)) return SendClientMessage(playerid,-1,"USAGE: /givenoobscore [Playerid/PartOfName] [score]");
    new targetscore = GetPlayerScore(targetid);
    if(targetscore >= 100) return SendClientMessage(playerid,-1,"ERROR: Player already is or above a score of 100!");
    else
    {
       SetPlayerScore(targetid,score);
    }
return 1;
}
Reply


Messages In This Thread
giving scores to noobies - by zrelly - 22.09.2013, 22:10
Re: giving scores to noobies - by Ada32 - 22.09.2013, 22:25
Re: giving scores to noobies - by iJumbo - 22.09.2013, 22:25
Re: giving scores to noobies - by EiresJason - 22.09.2013, 22:27

Forum Jump:


Users browsing this thread: 3 Guest(s)