i add andromada, but in server ther is heli - how to fix? -
buonggiorno - 18.11.2009
Hello, i add plane andromada on my server, copile it every thing is ok, but when i join server, at place where andromada need to be there is pd heli?
I found that andromada ID is 592. i dont know that is problem, i add and cargo interior and everythin is copile good, but there is helli hot andromada. how to fix this problem? any help?
Thx alot
Re: i add andromada, but in server ther is heli - how to fix? -
Peter_Corneile - 18.11.2009
Nothing seems wrong .. Show me the AddStaticVehicle code of the andromada
Re: i add andromada, but in server ther is heli - how to fix? -
buonggiorno - 18.11.2009
I show you all steps about andromada
First at begen i add new andromada
After that i add code under other AddStaticVehicleEx
Код:
andromada = AddStaticVehicle(592,-1433.394,387.207,31.539,268.0,-1,-1); //andromada
Afret that i add cargo interior
Код:
LinkVehicleToInterior (andromada, 9);
and compile that, script show that all is ok, but when i join the game, plane is on radar but i cant see it, or there is pd heli, i try with another heli to kick andromada to see is it there, and its realy there but i can see is, only then i crash with another vehicle i can see sparks
Re: i add andromada, but in server ther is heli - how to fix? -
Peter_Corneile - 18.11.2009
Do it like this maybe it will work
pawn Код:
public OnGameModeInit()
{
andromada = AddStaticVehicle(592,-1433.394,387.207,31.539,268.0,-1,-1); //andromada
LinkVehicleToInterior (andromada, 9);
return 1;
}
Re: i add andromada, but in server ther is heli - how to fix? -
buonggiorno - 18.11.2009
not work, i try and i get another problem, i cant enter in pd heli as driver. when i enter i get out automaticly, server eject me from heli, i can drive cars but heli i cant. as i say before codes you give me i can enter, but i try to delet it and maybe i delete some in script?
Re: i add andromada, but in server ther is heli - how to fix? -
Peter_Corneile - 18.11.2009
I dont get whats wrong
Re: i add andromada, but in server ther is heli - how to fix? -
buonggiorno - 18.11.2009
i realy dont know, maybe that is not in relationship with your codes, but i cant enter in pd heli i add 10 days ago

this is big problem i gues
Re: i add andromada, but in server ther is heli - how to fix? -
buonggiorno - 18.11.2009
sorry for dobule post, i fix problem, but i cant fix problem with andromade
Re: i add andromada, but in server ther is heli - how to fix? -
miokie - 18.11.2009
I think your trying to link the actual interior to the andromada.
(When you press G you go inside it)
It dosen't work that way, what your actually doing is putting that vehicle inside the interior.
Edit: Look at Seifs Hydra passenger script and recreate it making it put the player in the interior instead of spectating.
http://forum.sa-mp.com/index.php?topic=76295.0
Re: i add andromada, but in server ther is heli - how to fix? -
buonggiorno - 18.11.2009
i want when i open back doot that players can enter back in cargo, and when we are in air that thay can jump with parachute when i open doot, or thay can enter back with cars. is it posibile?