Raised This Month: $ Target: $400
 0% 

Store data for each or non entity ( Like pev )


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 01-14-2014 , 22:11   Re: Store data for each or non entity ( Like pev )
Reply With Quote #5

Use pev_iuser1..4 and pev_fuser1..4.

i for integer.
and f for float values.

Code:
set_pev(ent,pev_iuser1,31337) pev(ent,pev_iuser1)

pev_iuser2 and pev_iuser3 are already in use on player entity, they hold information about last spectated and current spectating player.
__________________
The functional way is the right way

Last edited by GordonFreeman (RU); 01-14-2014 at 22:12.
GordonFreeman (RU) 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 10:11.


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