Raised This Month: $ Target: $400
 0% 

[ReApi/ReGameDll] Unreal Spawn Fixer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 12-28-2021 , 08:54   Re: [ReApi/ReGameDll] Unreal Spawn Fixer
Reply With Quote #1

If you need reGameDLL for this plugin, why not use it's cvars?
PHP Code:
// Kill the player in filled spawn before spawning some one else (Prevents players stucking in each other).
// Only disable this if you have semiclip or other plugins that prevents stucking
// 0 - disabled
// 1 - enabled
//
// Default value: "1"
mp_kill_filled_spawn 1 
Also, don't hardcode:
Code:
new maxplayers = 32;
Not all servers has 32 players. Use get_maxplayers() or m_nMaxPlayers game member.
Code:
get_member_game(m_nMaxPlayers)
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]

Last edited by Shadows Adi; 12-28-2021 at 08:58.
Shadows Adi is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 12-28-2021 , 22:47   Re: [ReApi/ReGameDll] Unreal Spawn Fixer
Reply With Quote #2

Quote:
Originally Posted by Shadows Adi View Post
If you need reGameDLL for this plugin, why not use it's cvars?
PHP Code:
// Kill the player in filled spawn before spawning some one else (Prevents players stucking in each other).
// Only disable this if you have semiclip or other plugins that prevents stucking
// 0 - disabled
// 1 - enabled
//
// Default value: "1"
mp_kill_filled_spawn 1 
Also, don't hardcode:
Code:
new maxplayers = 32;
Not all servers has 32 players. Use get_maxplayers() or m_nMaxPlayers game member.
Code:
get_member_game(m_nMaxPlayers)
It initialized at maxplayers = get_maxplayers(); line. But it not using if server has TeamSemiclip or Resemiclip.

mp_kill_filled_spawn not adding more spawn points, and players can't join to any team.

Last edited by karaulov; 12-28-2021 at 22:56.
karaulov 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 10:08.


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