Guten Tag,
ich habe ein kleines Problem wer kann schnell helfen.
public OnPlayerConnect(playerid)
{
new name[55],pfad[55];
GetPlayerName(playerid,name,55);
format(pfad,sizeof(pfad),"/Nebenjobs/%s.txt",name);
if(fexist(pfad))
{
DrogenSkill[playerid] = dini_Get(pfad,"DrogenSkill");
WaffenSkill[playerid] = dini_Get(pfad,"WaffenSkill");
Drogen[playerid] = dini_Get(pfad,"Drogen");
Mats[playerid] = dini_Get(pfad,"Mats");
}
return 1;
}
Fehlermeldung:
C:\Users\Admin\Desktop\samp03e_svr_R2_win32\filterscripts\Nebenjobs.pwn(54) : error 006: must be assigned to an array
C:\Users\Admin\Desktop\samp03e_svr_R2_win32\filterscripts\Nebenjobs.pwn(55) : error 006: must be assigned to an array
C:\Users\Admin\Desktop\samp03e_svr_R2_win32\filterscripts\Nebenjobs.pwn(56) : error 006: must be assigned to an array
C:\Users\Admin\Desktop\samp03e_svr_R2_win32\filterscripts\Nebenjobs.pwn(57) : error 006: must be assigned to an array
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.