Posts: 270
Threads: 41
Joined: Jul 2014
Reputation:
0
Hi there. I have a problem on my server. Sometimes, I don't know after how much time.. The player VW is chaning to 1715.. I don't know why is this happening, I searched at "OnPlayerStateChange", "OnPlayerKeyStateChange" and "OnPlayerConnect".. How can I make a script that every time when a VW's player is changing to move the player to the VW 0 ? I tried something with >> getplayervirtualworld and setplayervirtualworld but didn't worked.. Annd, where do you think the script or the command is chaning the vw ?
Posts: 446
Threads: 66
Joined: Mar 2008
Reputation:
0
You could set a timer, within the timer set it to reset the VW back to 0.
Do you have any timers that is changing your VW or under OnPlayerUpdate?
Posts: 446
Threads: 66
Joined: Mar 2008
Reputation:
0
Set a timer for it to be updated every second or few.
Have you gone through your script with the search function and found anything to do with Virtual World or the number your are getting? It could be your defining a float, not a integer on a string somewhere too.
Posts: 1,099
Threads: 79
Joined: Nov 2011
Reputation:
0
Do some debugging.
Hook SetPlayerVirtualWorld with a print etc