/makeadmin Help +REP
#4

well i see a problem in code
pawn Код:
if(sscanf(params, "ud", giveplayerid, level))
        {
          SendClientMessage(playerid, -1, "USAGE: /makeadmin <playerid> <Admin level 1 - 10>");
          SendClientMessage(playerid, 0x008CFFFF, "NOTE: Admin Level 1 = Trial Moderator, Admin Level 2 = Moderator, Admin Level 3 = Master Moderator");
          SendClientMessage(playerid, 0x008CFFFF, "NOTE: Admin Level 4 = Trial Adminstrator, Admin Level 5 = Adminstrator, Admin Level 6 = Master Adminstrator");
          SendClientMessage(playerid, 0x008CFFFF, "NOTE: Admin Level 7 = Head Adminstrator, Admin Level 8 = Trusted Adminstrator, Admin Level 9 = Co-Owner, Admin Level 10 = Owner");
        }
change this to the following--
pawn Код:
if(sscanf(params, "ud", giveplayerid, level))
        {
          SendClientMessage(playerid, -1, "USAGE: /makeadmin <playerid> <Admin level 1 - 10>");
          SendClientMessage(playerid, 0x008CFFFF, "NOTE: Admin Level 1 = Trial Moderator, Admin Level 2 = Moderator, Admin Level 3 = Master Moderator");
          SendClientMessage(playerid, 0x008CFFFF, "NOTE: Admin Level 4 = Trial Adminstrator, Admin Level 5 = Adminstrator, Admin Level 6 = Master Adminstrator");
          SendClientMessage(playerid, 0x008CFFFF, "NOTE: Admin Level 7 = Head Adminstrator, Admin Level 8 = Trusted Adminstrator, Admin Level 9 = Co-Owner, Admin Level 10 = Owner");
return 1;
        }
u missed a return 1; here
Reply


Messages In This Thread
/makeadmin Help +REP - by Youssef214 - 14.06.2014, 05:38
Re: /makeadmin Help +REP - by BroZeus - 14.06.2014, 06:26
Re: /makeadmin Help +REP - by 1FreeHost - 14.06.2014, 06:29
Re: /makeadmin Help +REP - by BroZeus - 14.06.2014, 06:36
Re: /makeadmin Help +REP - by Threshold - 14.06.2014, 06:51
Re: /makeadmin Help +REP - by Youssef214 - 14.06.2014, 09:38
Re: /makeadmin Help +REP - by Threshold - 14.06.2014, 09:52

Forum Jump:


Users browsing this thread: 3 Guest(s)