Help Codding:
Posted: 12 Feb 2014, 16:37
Hey guise, this board seems to be better than dxalpha nowadays, so I need some help codding:
basically, does anyone know how to restart a player? Right now, when I call restartplayer, the log show that it finds a playerstart but the bool 'foundstart' which setlocation(Startspot), is false.
in any case, what happens when a player logins? What gets called for player restart? here is something else weird: my player is hidden, but even though I set the player to be bhidden=false, the player is still invisible. If i type 'walk' the player flashes visible for a second. Also, I noticed that if I change playerreplicationinfo.bisspectator = false, it doesn't seem to replicate until I restart?
please advise.
basically, does anyone know how to restart a player? Right now, when I call restartplayer, the log show that it finds a playerstart but the bool 'foundstart' which setlocation(Startspot), is false.
in any case, what happens when a player logins? What gets called for player restart? here is something else weird: my player is hidden, but even though I set the player to be bhidden=false, the player is still invisible. If i type 'walk' the player flashes visible for a second. Also, I noticed that if I change playerreplicationinfo.bisspectator = false, it doesn't seem to replicate until I restart?
please advise.