Wrong code in ladmin :(
#2

Код:
CMD:applyforadmin(playerid,params[])
{
            new NeededScoreAdmin;
            new CheckPlayerLevel;
            new AcceptPlayerForAdmin;
            AcceptPlayerForAdmin = playerid;
            NeededScoreAdmin = 30000;
            CheckPlayerLevel = playerid;
            if(GetPlayerScore(playerid) >= NeededScoreAdmin) {
            
            SetPlayerScore(CheckPlayerLevel, -10);
            dUserSetINT(PlayerName2(playerid)).("level",(1));
            SendClientMessage(AcceptPlayerForAdmin,red,"Accepted As Tester (Level 1), Congratz %s");
}
else {
SendClientMessage(playerid, -1, "you dont have points");
}
            return 1;
}
Reply


Messages In This Thread
Wrong code in ladmin :( - by MarioVPS - 13.06.2013, 16:12
Re: Wrong code in ladmin :( - by ReVo_ - 13.06.2013, 16:13
Re: Wrong code in ladmin :( - by MarioVPS - 13.06.2013, 16:21
Re: Wrong code in ladmin :( - by MarioVPS - 13.06.2013, 16:29
Re: Wrong code in ladmin :( - by Anak - 13.06.2013, 16:31
Re: Wrong code in ladmin :( - by MarioVPS - 13.06.2013, 16:33

Forum Jump:


Users browsing this thread: 1 Guest(s)