Raised This Month: $ Target: $400
 0% 

Setting m_iNumRespawns + Supercede CS_RoundRespawn crashes?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-05-2018 , 14:12   Re: Setting m_iNumRespawns + Supercede CS_RoundRespawn crashes?
Reply With Quote #1

A possible way is to hook the first spawn (there are 2 spawns when you arrive in the server (motd, not alive), and after you choose the team & you get into the game).
It's called in PutInServer after the private data has been initialized.

Basically, Ham_Spawn, as pre, and checking is_user_alive if false or maybe more reliable to check m_bJustConnected offset.
Just give a try anyway.
__________________

Last edited by Arkshine; 08-05-2018 at 14:15.
Arkshine is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-05-2018 , 14:22   Re: Setting m_iNumRespawns + Supercede CS_RoundRespawn crashes?
Reply With Quote #2

Quote:
Originally Posted by Arkshine View Post
A possible way is to hook the first spawn (there are 2 spawns when you arrive in the server (motd, not alive), and after you choose the team & you get into the game).
It's called in PutInServer after the private data has been initialized.

Basically, Ham_Spawn, as pre, and checking is_user_alive if false or maybe more reliable to check m_bJustConnected offset.
Just give a try anyway.
Ham_Spawn or Ham_CS_RoundRespawn?

m_bJustConnected value is 500?
__________________
edon1337 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 12:34.


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