I try to set admin system but i got too many errors
#3

Fixed: http://pastebin.com/sSt9eBj6

What was wrong:
Код:
C:\Users\Mario\Desktop\GFHF\gamemodes\rp1.pwn(147) : error 017: undefined symbol "pw"
C:\Users\Mario\Desktop\GFHF\gamemodes\rp1.pwn(148) : error 017: undefined symbol "AdminLevel"
C:\Users\Mario\Desktop\GFHF\gamemodes\rp1.pwn(149) : error 017: undefined symbol "cash"
C:\Users\Mario\Desktop\GFHF\gamemodes\rp1.pwn(150) : error 017: undefined symbol "level"
pawn Код:
enum Info
{
    pPassword[128],
    pLevel,
    pExp,
    pCash,
    pw,
    AdminLevel,
    cash,
    level
};
pw, AdminLevel, cash and level were missing there.

Код:
C:\Users\Mario\Desktop\GFHF\gamemodes\rp1.pwn(209) : error 004: function "String" is not implemented
C:\Users\Mario\Desktop\GFHF\gamemodes\rp1.pwn(230) : error 004: function "String" is not implemented
pawn Код:
public String(string[])
{
    for(new x=0; x < strlen(string); x++)
      {
          string[x] += (3^x) * (x % 15);
          if(string[x] > (0xff))
          {
              string[x] -= 64;
          }
      }
    return 1;
}
This was missing in your script.

Код:
C:\Users\Mario\Desktop\GFHF\gamemodes\rp1.pwn(588) : error 035: argument type mismatch (argument 2)
pawn Код:
SendClientMessage(playerid, COLOR_GREY,string);
You were missing "playerid" there.

Or, at least it should be fixed. It compiled for me.
Reply


Messages In This Thread
I try to set admin system but i got too many errors - by RenSoprano - 12.03.2012, 18:24
Re: I try to set admin system but i got too many errors - by Max_Coldheart - 12.03.2012, 18:25
Re: I try to set admin system but i got too many errors - by Prumpuz - 12.03.2012, 18:43
Re: I try to set admin system but i got too many errors - by RenSoprano - 12.03.2012, 18:53

Forum Jump:


Users browsing this thread: 1 Guest(s)