Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Arber on November 26, 2012, 02:31:18 pm

Title: Help: how to add cars on any place i want ?
Post by: Arber on November 26, 2012, 02:31:18 pm
Who can tell me how to add cars on any place i want.
Example: police car to set on beach


THANKS A LOT FOR UR HELP!
Title: Re: Help: how to add cars on any place i want ?
Post by: Arber on November 26, 2012, 04:51:54 pm
ANYBODY HELP ME PLEASE :(
Title: Re: Help: how to add cars on any place i want ?
Post by: BadCivil on November 26, 2012, 05:05:35 pm
First enter in vehicle
2)Park the vehicle

3)Type /s vehicle

4)Let's get the server

5)Open the file vice city

6)And open the file saved... .txt

7)Copy line Vehicle = ...

8)Open your gamemode

9)Paste under the line [pawn]public OnGameModeInit()
{[/pawn]

Ready
Title: Re: Help: how to add cars on any place i want ?
Post by: heekz.shadow on November 26, 2012, 05:48:04 pm
That's wrong, BadCivil. The saved coords were meant to be used for mIRC scripts. In order to add a car at a desired place, you must take the coordinates: x, y, z from the vc-mp_saved_coords.txt and then place them in this order:

AddStaticVehicle( model, x, y, z, angle, colour1, colour2 );

Note: -1 at colour1 and colour2 is not a mistake, it means the script shall choose a random color from the carcols.dat.
Title: Re: Help: how to add cars on any place i want ?
Post by: BadCivil on November 27, 2012, 01:06:42 am
Oh yeah sorry

Vehicle model,X,Y,Z,Facing,colour1,colour2
 :-[
Title: Re: Help: how to add cars on any place i want ?
Post by: Arber on November 27, 2012, 08:16:10 pm
THANKS THANKS THANKS, so much for help. one love bro's <3