15.11.2010, 11:19
Hi,
My question is simple: Why this doesent work?
And Yes, all variable's are valid.
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;
}

