30.01.2014, 17:07
a system where i load my premium skin
That code is inside in a command so when a players relogg the skin premium is setted ( sorry bad english , it's works ) but i need to change it to y_ini
pawn Код:
if(X[playerid] == X)
{
SetPlayerSkin(playerid,skin);
}
static file[80];
format(file,sizeof file,Userfile,GetPName(playerid));
INI_Open(file);
INI_WriteInt("SSkin",skin);
INI_Save();
INI_Close();
return 1;