problem with car script
#5

i already made that
Код:
public OnVehicleSpawn(vehicleid)
{
	new playerid;
	for(new i = 0; i < MAX_VEHICLES; i++)
	if(dini_Exists(VFile(i)))
	{
	    SetVehicleNumberPlate(i, dini_Get(VFile(i), "Plate"));
     	if(VehicleInfoCarOwn[i][Parkedcarown] == 1)
	    {
    		 SetVehiclePos(i, dini_Float(VFile(GetPlayerVehicleID(playerid)), "X"), dini_Float(VFile(GetPlayerVehicleID(playerid)), "Y"), dini_Float(VFile(GetPlayerVehicleID(playerid)), "Z"));
		}
	}
    return 1;
}
but the vehicle don't spawn to the saved position
Reply


Messages In This Thread
problem with car script - by jasonnw666 - 11.08.2011, 12:45
Re: problem with car script - by XGh0stz - 11.08.2011, 13:12
Re : problem with car script - by jasonnw666 - 11.08.2011, 13:17
Re: problem with car script - by XGh0stz - 11.08.2011, 14:37
Re : problem with car script - by jasonnw666 - 11.08.2011, 14:52
Re : problem with car script - by jasonnw666 - 11.08.2011, 18:10

Forum Jump:


Users browsing this thread: 2 Guest(s)