Raised This Month: $51 Target: $400
 12% 

[CS] Respawn on First Team Join


Post New Thread Reply   
 
Thread Tools Display Modes
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viña del Mar, Chile
Old 08-10-2012 , 22:17   Re: [CS] Respawn on First Team Join
Reply With Quote #21

Quote:
Originally Posted by ConnorMcLeod View Post
But with FPlayerCanRespawn, at least on death (dunno on first join), if player is holding a key he is put in spectator mode, so whatever the method used, depending on your needs it's better to force players to (re)spawn.
I know about that, and I only used FPlayerCanRespawn when joining to the server (counting spawn times with an array) checking if he hasn't respawn yet, and when killed, using a simple task hehe
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Old 09-04-2012, 16:49
kramesa
This message has been deleted by ConnorMcLeod. Reason: Off Topic
matsi
Thinkosaur
Join Date: Sep 2006
Old 09-06-2012 , 10:02   Re: [CS] Respawn on First Team Join
Reply With Quote #22

This topic is about the tutorial and not support for your own plugins...
__________________

Accepting all kinds of requests via private message.
matsi is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-31-2013 , 01:06   Re: [CS] Respawn on First Team Join
Reply With Quote #23

Quote:
Originally Posted by dFF View Post
What happen when more players call (same time) OnCBasePlayer_PreThink_Post and DisableHamForward can be disable Player_PreThink and others players can't respawned [don't have time to call ExecuteHam(Ham_Spawn, id)]. It's possible to happen that ?
Quote:
Originally Posted by joropito View Post
Just after the CLCMD is processed, PlayerPreThink is called so there's no way to hit Prethink asynchronously.
I've made a mistake there, PreThink is called before ClientCommand in server frame process, so, method was not reliable.
Should be fixed now.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Phant
Veteran Member
Join Date: Sep 2009
Location: New Jersey
Old 09-15-2015 , 05:23   Re: [CS] Respawn on First Team Join
Reply With Quote #24

Codes from first post works, but when player join to Spectators (allow_spectators 1), wait some time after round start (when he can not spawn by default gamerules) and join to T/CS — plugin do not respawn him.
Any way to fix it?

And which code better to use? First (with PreThink), or second ("Could also force respawn doing this")?
Phant is offline
Send a message via ICQ to Phant
wickedd
Veteran Member
Join Date: Nov 2009
Old 09-15-2015 , 18:51   Re: [CS] Respawn on First Team Join
Reply With Quote #25

Quote:
Originally Posted by Phant View Post
Codes from first post works, but when player join to Spectators (allow_spectators 1), wait some time after round start (when he can not spawn by default gamerules) and join to T/CS — plugin do not respawn him.
Any way to fix it?
Read the first page of this thread.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode