Not saving
#1

Why is this not saving?
Код:
public OnPlayerSpray(playerid)
{
    if(pick == 1)
	{
	    //new color = colort;
    	ChangeVehicleColor(vehid, colort, 0);
    	VehicleColor[playerid][0] = colort;
	}
	else
	{
	    new pID;
	    //new color2=color;
	    pID = Requested[playerid];
		ChangeVehicleColor(vehid, 0, colort);
		VehicleColor[playerid][1] = colort;
		KillTimer(SprayT);
		//Spray[pID] = 0;
		//Spray[playerid] = 0;
		Service[pID][0] = 0;
		Service[playerid][0] = 0;
		SaveVehicle(playerid);
		SendClientMessage(playerid, COLOR_GREEN, "Ai vopsit masina cu succes!");
	}
	return 1;
}
Reply


Messages In This Thread
Not saving - by AndreiWow - 22.12.2015, 10:59
Re: Not saving - by Sh4d0w2 - 22.12.2015, 11:05
Re: Not saving - by AndreiWow - 22.12.2015, 11:16

Forum Jump:


Users browsing this thread: 2 Guest(s)