Raised This Month: $ Target: $400
 0% 

DispatchKeyValue problems


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
4554
Senior Member
Join Date: Aug 2009
Old 02-03-2013 , 01:22   DispatchKeyValue problems
Reply With Quote #1

Hello everybody,
Code:
public pfn_keyvalue(entid)
{
	new classname[32], key[32], value[32]
	copy_keyvalue(classname, 31, key, 31, value, 31)

        if(equal(key, "monstertype") && equal(value, "monster_headcrab"))
	{
		DispatchKeyValue("monstermaker", "func_wall")
	}
}
The problem is that classname of there have not changed to func_wall

however, other function work fine
Code:
DispatchKeyValue("classname", "func_wall")
4554 is offline
 



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 20:38.


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