Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Sebastian on Oct 31, 2014, 09:34 PM

Title: How is the Request Class working ?
Post by: Sebastian on Oct 31, 2014, 09:34 PM
I have set the player (and camera) spawn position in the front of the Halloween Pumpkin, but when I tested it I couldn't see any pickup, but just the explosion (thats set by script (http://forum.vc-mp.org/?topic=58.0))...

I set player's World to 0 onPlayerRequestClass, but this didn't fix the problem.

So, how can I make the pickups appear for players that are switching (between) skins too ?
Title: Re: How is the Request Class working ?
Post by: Thijn on Nov 01, 2014, 11:05 AM
I'm not sure if it works like that in 0.4, but try setting the player's position (player.Pos) in onPlayerRequestClass. I'm guessing the streamer isn't doing what it should be doing.
Title: Re: How is the Request Class working ?
Post by: Sebastian on Nov 01, 2014, 12:57 PM
Doesn't work...
Title: Re: How is the Request Class working ?
Post by: Gudio on Nov 01, 2014, 02:01 PM
Vehicles and pikups are not streamed when player is on spawn screen. I noticed the same when I tried to put the vehicle there.
Title: Re: How is the Request Class working ?
Post by: soulshaker on Nov 01, 2014, 02:29 PM
I was able to see some of the pickups (not all)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fimg.vcmp.ml%2F%3Fdi%3DAF04&hash=e4718a0108d55682f5f1fe437993181aa086e325)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fimg.vcmp.ml%2F%3Fdi%3DCSHH&hash=945815863e2ec025cacdd97a857ce224d5f103e3)
Title: Re: How is the Request Class working ?
Post by: ThunderStorm on Nov 12, 2014, 01:49 PM
Quote from: Gudio on Nov 01, 2014, 02:01 PMVehicles and pikups are not streamed when player is on spawn screen. I noticed the same when I tried to put the vehicle there.
Even objects :\