12.03.2012, 18:43
Fixed: http://pastebin.com/sSt9eBj6
What was wrong:
pw, AdminLevel, cash and level were missing there.
This was missing in your script.
You were missing "playerid" there.
Or, at least it should be fixed. It compiled for me.
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
};
Код:
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;
}
Код:
C:\Users\Mario\Desktop\GFHF\gamemodes\rp1.pwn(588) : error 035: argument type mismatch (argument 2)
pawn Код:
SendClientMessage(playerid, COLOR_GREY,string);
Or, at least it should be fixed. It compiled for me.