Virtual worlds
#1

How to make virtual world for every player? I mean when player registers, he get virtual world 1, and when he logs in, his virtual world still be 1. And there should be only one player in same virtual world (when next player registers, his virtual world 2, next 3.....).

Sorry for my bad English
Reply
#2

you can tweak this idea later for registered user but basically if i was said to do that, i will use this line under OnPlayerConnect(playerid)
Код:
SetPlayerVirtualWorld(playerid,playerid);
This is so simple, now modify it according to your need....

I will be happy to know if my infromation was helpful

Thank You
-Abhinav
Reply
#3

Hmm, thanks for helping. How to get last registered player, and how to count registered players?
Counting registered players I need new variable, and when player registers set it to +1? I think so. But how to get last registered player?
Reply
#4

dude.. keep away the registration thingy...
The main thing is that, you need each player in his own personal world,
And the maximum limit for server is 200 players
So just simply give them the world according to their ID..
there are 255 Virtual world i guess.....and you wont get more than 200 players, also each player will automatically have a unique ID so you wont face any problems......You dont need to play with registration thing, just add that code and have fun.

Thank You
-Abhinav
Reply
#5

Oh, thanks for explaining more, because I didn't understand what you mean in previous post (i thought there was mistake ).
Reply
#6

Tell me if it will work for you...I hope it will


Thank You
-Abhinav
Reply
#7

Yea, it worked fine, thanks for you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)