SePlayerVirtualWorld
#1

Well i'm thinking of creating a dialog where the player can choose a car to test but i would like to create that in diferent virtual worlds.
for exemple
player 1 get's vw 1
player 2 get's vw 2
if player 1 goes back to vw 0
player 3 get's vw 1
i hope you did understand what i have just said .
is it possible , if yes , could you show me how
Reply
#2

Quote:
Originally Posted by Ax3l123
View Post
Well i'm thinking of creating a dialog where the player can choose a car to test but i would like to create that in diferent virtual worlds.
for exemple
player 1 get's vw 1
player 2 get's vw 2
if player 1 goes back to vw 0
player 3 get's vw 1
i hope you did understand what i have just said .
is it possible , if yes , could you show me how
Of course is possible, you should store somewhere the vw in use an then choose the lowest value avalilable.
Or....... You can send the player in a vw that is equal to "playerid + 1" so you don't use sequential VWs but you are sure that you don't have two or more players in the same VW.
Reply
#3

Quote:
Originally Posted by AaronJ
View Post
Of course is possible, you should store somewhere the vw in use an then choose the lowest value avalilable.
Or....... You can send the player in a vw that is equal to "playerid + 1" so you don't use sequential VWs but you are sure that you don't have two or more players in the same VW.
Thank you for the playerid+1 ideea , that's something i have't thought .
Reply
#4

Quote:
Originally Posted by Ax3l123
View Post
Thank you for the playerid+1 ideea , that's something i have't thought .
No problem dude, happy to help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)