Why this doesent save?
#1

Hi,
My question is simple: Why this doesent work?

Код:
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    if(pVeh[playerid] != -1 && pVeh[playerid] == vehicleid)
	{
        GetPlayerName(playerid, pname, sizeof(pname));
		format(file, sizeof file,"%s/%s.ini",CARFILE,pname);
	    if (dini_Exists(file))
	    {
	        dini_IntSet(file,"Color1",color1);
			dini_IntSet(file,"Color2",color2);
 			return 1;
		}
	}
	return 1;
}
And Yes, all variable's are valid.
Reply


Messages In This Thread
Why this doesent save? - by Danny - 15.11.2010, 11:19
Re: Why this doesent save? - by The_Moddler - 15.11.2010, 11:32
Re: Why this doesent save? - by Danny - 15.11.2010, 11:43
Re: Why this doesent save? - by iggy1 - 15.11.2010, 11:56
Re: Why this doesent save? - by The_Moddler - 15.11.2010, 12:03
Re: Why this doesent save? - by Danny - 15.11.2010, 14:07

Forum Jump:


Users browsing this thread: 2 Guest(s)