Guten Abend Liebe Community,
Ich bekomme einen Error beim Skinspeichern/laden.
Der Error:
C:\- GTA (SA) LoR Server -\gamemodes\LoR-v1.pwn(2555) : warning 208: function with tag result used before definition, forcing reparse
C:\- GTA (SA) LoR Server -\gamemodes\LoR-v1.pwn(2146) : warning 203: symbol is never used: "params"
C:\- GTA (SA) LoR Server -\gamemodes\LoR-v1.pwn(2485) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Die Zeilen:
stock Login(playerid,key[])
{
new Accounts[64];
new Sname[MAX_PLAYER_NAME];
GetPlayerName(playerid,Sname,sizeof(Sname));
format(Accounts,sizeof(Accounts),"/Accounts/%s.ini",Sname);
SetPlayerSkin(playerid,dini_Get(Accounts,"Skin")); // Error
if(!strcmp(key,dini_Get(Accounts,"Passwort"),true))
{
SendClientMessage(playerid,COLOR_WHITE,"Du hast dich {00FF00}erfolgreich{FFFFFF} eingeloggt.");
AccountsLaden(playerid);
}
else
{
SendClientMessage(playerid,COLOR_LRED,"Du hast das Passwort falsch eingegeben!");
Kick(playerid);
}
return 1;
}
Hoffe es wird zu beheben sein
MfG
James.