Raised This Month: $ Target: $400
 0% 

Solved Player spawning right after menu select


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ghosted
Veteran Member
Join Date: Apr 2015
Location: Georgia
Old 07-30-2018 , 06:39   Re: Player spawning right after menu select
Reply With Quote #1

Hook Putinserver and set players privatedata m_iNumRespawns (365) to 1 (that means player is already respawned and is unable to spawn)
Code:
set_pdata_int(id, 365, 1);
Don't know if there will be issues
__________________

[MOD] CS Weapon Mod V1.7.1
[MM] MetaMod-C V1.0
[MOD] CS NPC Mod (5%)


Probably Left AM
Ghosted is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-30-2018 , 06:44   Re: Player spawning right after menu select
Reply With Quote #2

Quote:
Originally Posted by Ghosted View Post
Hook Putinserver and set players privatedata m_iNumRespawns (365) to 1 (that means player is already respawned and is unable to spawn)
Code:
set_pdata_int(id, 365, 1);
Don't know if there will be issues
As for now it works, I'll let you know if there's any issues, thanks!
__________________
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:51.


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