SetPlayerVirWorld
#1

OnPlayerRequestClass
Code:
SetPlayerVirtualWorld(playerid, 999);
OnPlayerSpawn
Code:
SetPlayerVirtualWorld(playerid, 0);
If you connect & spawn, then you can't see all things what server got it. (Cars, pickups, etc)
Reply
#2

It's SetPlayerVirtualWorld ..?
Reply
#3

Quote:
Originally Posted by Biesmen
View Post
It's SetPlayerVirtualWorld ..?
Was mistake, sorry.
Reply
#4

That's how it's supposed to be.
Reply
#5

Quote:
Originally Posted by [FU]Victious
View Post
That's how it's supposed to be.
What?

(That bug is still active..)
Reply
#6

Bump......
Reply
#7

This isn't a bug, as somebody said above thats how it's suppose to be.
Reply
#8

Look a first post.

(You spawn and cant see them, then you set self virtualworld to 0, and you can see them)
Reply
#9

https://sampwiki.blast.hk/wiki/SetVehicleVirtualWorld

Quote:
CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
Each vehicle and pickup is in it's own virtual world, you can't put them in multiple worlds.
Reply
#10

Except for pickups, which you can put in all virtual worlds, by using -1 for the parameter. However you cannot change it after setting it, unless destroying and re-creating it again :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)