Raised This Month: $ Target: $400
 0% 

[ H3LP ] Entity members


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Depresie
Veteran Member
Join Date: Nov 2013
Old 12-24-2017 , 14:53   Re: [ H3LP ] Entity members
Reply With Quote #1

Anything you want to store on entities, you have to do it using the following pev fields
Storing the data in arrays like you were trying is not safe, because entities can get very high indexes
Another good alternative is to use klippy's module which allows you to store data on entities

Also, don't use these fields on players

Code:
pev_iuser - for integers
pev_euser - for integers
pev_fuser - for floats
pev_vuser - for vectors 
pev_noise - for strings
__________________

Last edited by Depresie; 12-24-2017 at 14:54.
Depresie 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 23:20.


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