/removescore
#1

Hello Guys i have make a /givescore Command that works, but i dont know how to make a /removescore Command, here the /givescore Command, with Adminvariable/Adminquery

Код:
COMMAND:givescore(playerid,params[])
 {
    new id;
    new level;
    if(sscanf(params,"dd",id,level)) return SendClientMessage(playerid,COLOR_YELLOW,"Usage: /givescore [id] [score]");
    if(PlayerAdmin[playerid] < 4) return SendClientMessage(playerid,COLOR_RED,"You cannot use this Command!");
    SetPlayerScore(id,GetPlayerScore(id)+level);
    return 1;
      }
Reply


Messages In This Thread
/removescore - by Blackazur - 29.10.2012, 20:08
Re: /removescore - by maramizo - 29.10.2012, 20:16
AW: /removescore - by Blackazur - 29.10.2012, 20:35

Forum Jump:


Users browsing this thread: 1 Guest(s)