Erstmal Danke Jeffry
nun hat das soweit schonmal geklappt jetzt habe ich noch Laden und Speicher für die Bank eingefügt und bekomme wieder 2 Errors
heute scheint echt nicht mein Tag zu sein
D:\Desktop\sa-mp0.3z\pawno\MyLonky.pwn(4720) : error 036: empty statement
D:\Desktop\sa-mp0.3z\pawno\MyLonky.pwn(4730) : error 036: empty statement
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Zeile 4720
if(!IsPlayerNPC(playerid));
Zeile 4730
if(!IsPlayerNPC(playerid));
Zeilen 4716-4735
stock SavePlayer(playerid)
{
new s[128],sname[MAX_PLAYER_NAME],sname2[MAX_PLAYER_NAME];
format(s, sizeof(s), PLAYER_FOLDER,sname[playerid],sname2[playerid]);
if(!IsPlayerNPC(playerid));
{
dini_IntSet(s,"Bank",pInfo[playerid][Bank]);
}
return 1;
}
stock LoadPlayer(playerid)
{
new s[128],sname[MAX_PLAYER_NAME],sname2[MAX_PLAYER_NAME];
format(s, sizeof(s), PLAYER_FOLDER,sname[playerid],sname2[playerid]);
if(!IsPlayerNPC(playerid));
{
pInfo[playerid][Bank] = dini_Int(s,"Bank");
}
return 1;
}
MfG: Wuppi