Cant add car in map - 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: Cant add car in map (
/showthread.php?tid=108277)
Cant add car in map -
buonggiorno - 13.11.2009
A make map in mta editor, convert it and get code, CreateVehcile(xxx..........);
i copy/paste it in pawno under othere vehcile and when i copile it, and restart server, that vehcile i add i can see it only on radar, on the ground he doesnt exist, problem is that when i stand near vehcile and pres enter, i can enter in the car but i cant see it.
any help?
Re: Cant add car in map -
Correlli - 13.11.2009
Have you setted this vehicle to any interior? That could be the problem.
Re: Cant add car in map -
buonggiorno - 13.11.2009
i put vehcile on the roof of one house, and in pd garage. the vehcile is for team bases.
Its shown on the map but can see it when i go for them
Re: Cant add car in map -
Correlli - 13.11.2009
Quote:
Originally Posted by buonggiorno
i put vehcile on the roof of one house, and in pd garage. the vehcile is for team bases.
Its shown on the map but can see it when i go for them
|
This is not what i asked you. I asked you if you're maybe using
this function for your vehicle?
Re: Cant add car in map -
buonggiorno - 13.11.2009
no i use this
https://sampwiki.blast.hk/wiki/CreateVehicle
i try:
CreateObject
AddStaticVeh
AddSAtaticVehEx
with all of them i can see car
Re: Cant add car in map -
dice7 - 13.11.2009
Show your code
Re: Cant add car in map -
buonggiorno - 13.11.2009
Код:
CreateVehicle(447,1291.220,-789.392,96.561,0.0,-1,-1,120000);
this si heli, i put it on the roof od mad dogg house.
Re: Cant add car in map -
dice7 - 13.11.2009
And where did you put that ?
And did you even compile the code ?
Re: Cant add car in map -
buonggiorno - 13.11.2009
i put it under other CreateObject and i compile it...afret that i join server type /gmx for restart and vehciles are there but i can see it only at the radar...
CreateVehicle(447,1291.220,-789.392,96.561,
0.0,-1,-1,120000);
maybu this 0.0 is problem? that si some angle as i can see on wilki tutorial