Author Topic: Force Spawn / Set Camera Behind Player  (Read 4349 times)

0 Members and 3 Guests are viewing this topic.

Offline SpaceOmega

  • Street Thug
  • *
  • Posts: 7
  • Protecting your ass, killing some others!
    • View Profile
Force Spawn / Set Camera Behind Player
« on: September 28, 2013, 11:12:33 pm »
I got players stuck in the class selection at my script (they gotta login / register before spawning (controls revoked at this point), and when they login / register (controls restored) they cannot spawn, camera stuck on the class selection though I didn't set classes since it's a roleplay server)

I want to make the camera set behind them. I could only do it by killing the player, making them respawn (which I don't want to happen).

Any ideas on how can I put the camera behind the player again / force them to spawn without death?


Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Force Spawn / Set Camera Behind Player
« Reply #1 on: September 29, 2013, 02:12:06 am »
Can you, please, show us your code?


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline SpaceOmega

  • Street Thug
  • *
  • Posts: 7
  • Protecting your ass, killing some others!
    • View Profile
Re: Force Spawn / Set Camera Behind Player
« Reply #2 on: October 02, 2013, 12:16:27 pm »
There is no code to show honestly I need a tactic to Restore player's camera

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Force Spawn / Set Camera Behind Player
« Reply #3 on: October 02, 2013, 12:32:57 pm »
We normally don't freeze the controls for a player. We normally tell the player to either register or login. If the player still spawns without registering/logging in, we either kick the player from the server, kill the player or warn him. These should be simple to code.
I'm beginning to feel like a Lag God, Lag God

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Force Spawn / Set Camera Behind Player
« Reply #4 on: October 02, 2013, 12:45:46 pm »
OFF: I remember that I done once/twice a code that respawned the player after his/hers death.  :)
(So called "Respawn without reselecting the class you want")

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Force Spawn / Set Camera Behind Player
« Reply #5 on: October 02, 2013, 06:52:35 pm »
OFF: I remember that I done once/twice a code that respawned the player after his/hers death.  :)
(So called "Respawn without reselecting the class you want")

Tell me how how how


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Force Spawn / Set Camera Behind Player
« Reply #6 on: October 02, 2013, 07:05:49 pm »
Tell me how how how

Unfortunately I can't remember the code... I tried many times to remake it but nothing :s or maybe the server.exe was edited ? I have no idea, but I cannot find the combination anymore.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Force Spawn / Set Camera Behind Player
« Reply #7 on: October 02, 2013, 07:07:37 pm »
Tell me how how how

Unfortunately I can't remember the code... I tried many times to remake it but nothing :s or maybe the server.exe was edited ? I have no idea, but I cannot find the combination anymore.

Oh no(


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Force Spawn / Set Camera Behind Player
« Reply #8 on: October 13, 2013, 03:01:00 am »
Like 0.4?? or vice city life??

what you want is for the player to die should not choose skin spawn again just automatic?
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint