error fix please (INI_WriteInt)
#1

public LoadSprayTags(sprayid)
{
new dir[256];
if(!CheckSprayTags(sprayid))
{
format(dir,sizeof(dir),"SprayTags/%d.ini",sprayid);
INI_Open(dir,Write);
INI_WriteInt("S_Member",random(sizeof(SprayList))) ;
INI_Close();
}

///////////////////////////////////////////////////////
maybe red line have error!
other line
public OnGameModeInit()
{
for(new i = 0; i < MAX_SPRAYS; i++)
{
LoadSprayTags(i);
}
and i check my folder read/write
Reply


Messages In This Thread
error fix please (INI_WriteInt) - by uni13 - 23.03.2019, 12:51
Re: error fix please (INI_WriteInt) - by uni13 - 23.03.2019, 15:00

Forum Jump:


Users browsing this thread: 1 Guest(s)