Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: FreakWay on February 01, 2010, 11:01:06 AM

Title: bug in !getcar commands is DLL
Post by: FreakWay on February 01, 2010, 11:01:06 AM
well I use the dll vrocker but has its little bug in the commands !getcar <id> and /c spawn <id>, when I place the command !getcar or /c spawn get the message that the car was brought to the user but the car never arrived think it had the same problem LW Server :/ there a solution?, I use script Psy modify by Zelda and BlueRey
and use vcmp.dll by VRocker

please help!

Regards BlueRey~
Title: Re: bug in !getcar commands is DLL
Post by: Skirmant on February 01, 2010, 11:40:47 AM
Ah.. Yes. I know this bug. You need someone to enter or move the car at least once to be able to spawn it.
I suggest adding: vcmp.setvehicle $1 $2 $4 in the spawn command. If you won't spawn the car, you'll atleast be taken to it :P
Title: Re: bug in !getcar commands is DLL
Post by: FreakWay on February 01, 2010, 11:52:45 AM
thank  Skirmant   ;)
Title: Re: bug in !getcar commands is DLL
Post by: Forge on February 01, 2010, 07:55:36 PM
skimart the
vcmp.setvehicle $1 $2 $4
is from same in the car, no for the get of the car, from the getcar is

var %loc.x = $calc($vcmp.location($1, $2).x + 3)
var %loc.y = $calc($vcmp.location($1, $2).y + 3)
var %loc.z = $calc($vcmp.location($1, $2).z - 1)
vcmp.setvehicleloc $1 $4 %loc.x %loc.y %loc.z
Title: Re: bug in !getcar commands is DLL
Post by: thijn on February 01, 2010, 08:19:25 PM
thats what causing the problem.
And it could be fixed (i didnt tested it) by using the setvehicle command.