Creating entity
I'm trying to create an entity.. I copy this from No Team Buy:
PHP Code:
PHP Code:
PHP Code:
Help, i ask for help many times but my thread allways have 1 post (mine) I help when i can help... Thanks |
Re: Creating entity
DispatchKeyValue("info_map_parameter", "buying", "3")
how DispatchKeyValue() is supposed to know on what entity it should apply the keyvalue ? -> DispatchKeyValue(ENT_CLASS, "buying", "3") |
Re: Creating entity
|
Re: Creating entity
Create your ent in plugin_precache() forward, and remove armouries in plugin_init() forward.
|
Re: Creating entity
Ah. He forgets to add public.
|
Re: Creating entity
Yes i forget it but i have it in the code..
But can be that in the first round works the handle buy but in the second don't works? EDIT: In the plugin_precache it works but the armoury entities didn't dissapear.. I will try to put in a function the other stuff EDIT2: Thanks to you it works :D +k |
| All times are GMT -4. The time now is 04:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.