Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Nihongo^ on May 27, 2016, 11:36 AM

Title: Vehiclea adding
Post by: Nihongo^ on May 27, 2016, 11:36 AM
HI all im Trying to Add Costum vehicle on server but its Hard for me using /s every single time + minimize  the Game then Maximize
to Checking the Angles + poses again and again its spread alots of time
is there any command or fucntion which auto save the car location
Title: Re: Vehiclea adding
Post by: Finch Real on May 27, 2016, 11:47 AM
No There is No Function About Saving the Location of Car Automatically
Title: Re: Vehiclea adding
Post by: Anik on May 27, 2016, 11:48 AM
Why dont you print the Positions and Angles instead of Message?? Then you can easily copy and paste from the console.
Title: Re: Vehiclea adding
Post by: Cool on May 27, 2016, 11:54 AM
you can use @Kusnangi vehicle system
[TIP]addcar with kusnangi cmd and then leave car which you created with his cmds and sit in custom car and park it its worked for me i dont know about yours
Title: Re: Vehiclea adding
Post by: Nihongo^ on May 27, 2016, 12:42 PM
Quote from: Hercules on May 27, 2016, 11:54 AMyou can use @Kusnangi vehicle system
[TIP]addcar with kusnangi cmd and then leave car which you created with his cmds and sit in custom car and park it its worked for me i dont know about yours
where can i get this system ?
Title: Re: Vehiclea adding
Post by: Cool on May 27, 2016, 01:06 PM
http://forum.vc-mp.org/?topic=1177.msg7900#msg7900
Title: Re: Vehiclea adding
Post by: KAKAN on May 27, 2016, 01:28 PM
Or use this command:-
if( cmd == "s" )
{
local pos = player.Pos;
if(!text)
{
MessagePlayer( "Your Pos: X" + pos.x + ", Y: " + pos.y + ", Z: " + pos.z );
print( "Your Pos: X" + pos.x + ", Y: " + pos.y + ", Z: " + pos.z );
}
else
{
MessagePlayer( "Your Pos: X" + pos.x + ", Y: " + pos.y + ", Z: " + pos.z + " ; Name: " + text );
print( "Your Pos: X" + pos.x + ", Y: " + pos.y + ", Z: " + pos.z + " ; Name: " + text );
}
}
Alternatively, you can write them to a file.
Title: Re: Vehiclea adding
Post by: Nihongo^ on May 27, 2016, 01:46 PM
Thanks you all + MacTavish
and also you Kakan :)
 Question : this FUnction can work on costum vehicles ?
like i put the model 1604 on db so can script load the costum vehicle ?
Title: Re: Vehiclea adding
Post by: Xmair on May 27, 2016, 02:15 PM
Yes, but the custom vehicles ids start from 12000.
Title: Re: Vehiclea adding
Post by: Finch Real on May 27, 2016, 03:12 PM
maybe custom vehicles starts from 6400?
Title: Re: Vehiclea adding
Post by: KAKAN on May 27, 2016, 04:57 PM
Quote from: Finch Real on May 27, 2016, 03:12 PMmaybe custom vehicles starts from 6400?
See the updates section.
Title: Re: Vehiclea adding
Post by: Finch Real on May 27, 2016, 05:09 PM
Ahh! Sorry My BaD!