Vehicle Garage Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicle Garage Help (
/showthread.php?tid=191102)
Vehicle Garage Help -
Lars_Frederiksen - 17.11.2010
Okay I'm trying to make a garage system for my serv.
Everything works accept... The car doesn't spawn in the garage where I want it to, here take a look
Код:
new Float:CarGaragex = GarageInfo[playerid][gGarageParkX];
new Float:CarGaragey = GarageInfo[playerid][gGarageParkY];
new Float:CarGaragez = GarageInfo[playerid][gGarageParkZ];
new garageint = GarageInfo[playerid][gGarageInt];
new garagevw = GarageInfo[playerid][gGarageVW];
playercarid[playerid] = CreateVehicle(CarId,CarGaragex,CarGaragey,CarGaragez,Carangle,randcolor,randcolor,300000);
LinkVehicleToInterior(CarId,garageint);
SetVehicleVirtualWorld(CarId,garagevw);
Can somebody figure this out? I go in the garage and I don't see a car, what's the deal? =o
Re: Vehicle Garage Help -
gesior7 - 25.11.2010
You should check if the virutalworld of player is same as here.
Does the car spawn anyhow?