wenn ich diese script compiliere #include <a_samp>
#include <Dini>
new pname[MAX_PLAYER_NAME];
new pskin;
new tmppskin[300];
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Save Skin ");
print("--------------------------------------\n");
tmppskin = dini_Get(pname,"skinvalue");
return 1;
}
public OnPlayerConnect(playerid)
{
GetPlayerName(playerid,pname,sizeof(pname));
//load playerskin --> if player logged in
if (!dini_Exists(pname))
{
dini_Create(pname);
return 1;
}
if (dini_Exists(pname))
{
SetPlayerSkin(playerid,tmppskin);
SpawnPlayer(playerid);
}
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
//save playerskin
pskin = GetPlayerSkin(playerid);
dini_IntSet(pname,"skinvalue",pskin);
return 1;
}
bekomme ich folgende fehlermeldung Save_Skin.pwn(28) : error 035: argument type mismatch (argument 2) was ist da falsch gelaufen? ich verzweifel grad son bisschen