Raised This Month: $51 Target: $400
 12% 

Solved Get value from keyname of entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LiZou Mapper
Member
Join Date: Oct 2018
Location: The Red City !
Old 09-25-2021 , 17:54   Get value from keyname of entity
Reply With Quote #1

I created "info_target" using J.A.C.K (Hammer), I add something different keyvalues in entity.

Screenshots:


Is there any way to get key values:

Code:
"contact"
"wait"
Like this:
PHP Code:
new Float:iWaitTime get_keyvalue_float(iEnt"wait")

new 
szContact[64]
get_keyvalue_string(iEnt"contact"szContactcharsmax(szContact)) 
__________________

-------------
My Maps !
Zombie Escape Mod !
-------------


Last edited by LiZou Mapper; 09-27-2021 at 13:03. Reason: Problem solved
LiZou Mapper is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-25-2021 , 18:06   Re: Get value from keyname of entity
Reply With Quote #2

This plugin written by a friend of mine gets certain key values from certain entities so that it can change them later. It uses the key value forward and basically processes all the key values at the start, saves the entities and then it references them later.

Maybe you can do something similar to get the value that you're looking for.
__________________
fysiks is offline
LiZou Mapper
Member
Join Date: Oct 2018
Location: The Red City !
Old 09-27-2021 , 13:02   Re: Get value from keyname of entity
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
This plugin written by a friend of mine gets certain key values from certain entities so that it can change them later. It uses the key value forward and basically processes all the key values at the start, saves the entities and then it references them later.

Maybe you can do something similar to get the value that you're looking for.
Thanks
__________________

-------------
My Maps !
Zombie Escape Mod !
-------------


Last edited by LiZou Mapper; 04-21-2024 at 03:02.
LiZou Mapper 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 05:01.


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