Raised This Month: $32 Target: $400
 8% 

[Help]Reset entities(button, multi_manager, ...)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 04-06-2015 , 11:34   [Help]Reset entities(button, multi_manager, ...)
Reply With Quote #1

Hey there,
I'm working on new zombie mod for Counter-Strike and try to make objective rules for map.
Entity save status and tasks for a next rounds. I need to fix it and reset all rule enitities like:
func_button
trigger_multiple
multi_manager
?multisource

I try to use call_think, DispatchSpawn, DLLFunc_Think, DLLFunc_Spawn, Ham_Spawn, Ham_CS_RoundRespawn, using some of these for point entities crash server, I try to use offsets:

PHP Code:
//multisource
new const m_rgEntities[32] = {3435, ...};
new const 
m_rgTriggered[32] = {9899, ...};
new const 
m_iTotal 130;
new const 
m_globalstate 131;

//multi_manager
new const m_cTargets 73;
new const 
m_index 74;
new const 
m_startTime 74;
new const 
m_iTargetName[16] = {7677, ...}
new const 
m_flTargetDelay[16] = {9293, ...} 
but any of these methods doesn't work. Any ideas how to make it?
Please, help me.
__________________

❄️ CS Snow Wars - Mod based on snowballs fights
🧟 CS Zombie Panic - A port of HL Zombie Panic!
🎃 CS Halloween Mod - Completely new gamemode for Halloween Holidays
📦 AMXXPack - CLI and build system for amxx projects
🔧 Custom Entities API - API to register custom entities
Hedgehog Fog is offline
Reply


Thread Tools
Display Modes

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 03:04.


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