Author Topic: Event_ChangeVehicle -- Better Than It Sounds!  (Read 6042 times)

-snip-
Oops, didn't see that part of the topic.

It's a nice event however.

this + relay events = lol

Code: [Select]
function Vehicle::changeVehicle(%vehicle, %new, %client)
{
...

%spawn.setVehicle(%new);

...
}

okay then

this + relay events = lol
o_o must try

well since relays can't directly affect vehicles I tried driving through a bunch of zone bricks with onvehicle enterzone. A word of advice, don't do it, it got real glitchy real fast XD
« Last Edit: August 05, 2012, 05:45:14 PM by Mysteroo »

Code: [Select]
function Vehicle::changeVehicle(%vehicle, %new, %client)
{
...

%spawn.setVehicle(%new);

...
}

okay then
Using setDataBlock can crash the server if it changes from one class of datablock to another.
and even when they're the same datablock class, it can leave wheels and such missing.