23.03.2019, 12:51
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
{
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