Hallo Com!
Ich habe hier einen error im Register/login system ich habe nur hinzugefühgt das die Skins auch gespeichert werden und dann das:
D:\Pawn\0.3C BETA\0.3c\filterscripts\registersystem.pwn(333) : error 017: undefined symbol "skin"
D:\Pawn\0.3C BETA\0.3c\filterscripts\registersystem.pwn(324) : warning 204: symbol is assigned a value that is never used: "Skin"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Hier die zeilen
public ShowStats(playerid,targetid)
{
if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
new cash = GetPlayerMoney(targetid);
new deaths = PlayerInfo[targetid][pDeaths];
new kills = PlayerInfo[targetid][pKills];
new Skin = PlayerInfo[targetid][pSkin]; // Warning
new name[MAX_PLAYER_NAME];
GetPlayerName(targetid, name, sizeof(name));
new Float:px,Float:py,Float:pz;
GetPlayerPos(targetid, px, py, pz);
new coordsstring[256];
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
format(coordsstring, sizeof(coordsstring),"*** %s ***",name);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "Kills:[%d] Skin:[%d] Deaths:[%d] Cash:[$%d]",kills,skin,deaths,cash); //Error
SendClientMessage(playerid, COLOR_GRAD5,coordsstring);
SendClientMessage(playerid, COLOR_GREEN,"_______________________________________");
}
}
#endif