Raised This Month: $ Target: $400
 0% 

Using Entity Storage (iuser/fuser)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 05-14-2009 , 20:22   Using Entity Storage (iuser/fuser)
Reply With Quote #1

Usually, when i'm working with entity's. I always use there "iuser1/2/3/4" to store small variables, but I use them very often, and it's alot more convenient.
But is there any down fall to this? Does setting/getting entity data, ~bad?
__________________
Oh yeah
Drak is offline
Send a message via MSN to Drak
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-14-2009 , 20:44   Re: Using Entity Storage (iuser/fuser)
Reply With Quote #2

The worst it can happen, i guess, is concurrent usage by two different plugins.
__________________
joaquimandrade is offline
hlstriker
Green Gaben
Join Date: Mar 2006
Location: OH-IO!
Old 05-14-2009 , 21:42   Re: Using Entity Storage (iuser/fuser)
Reply With Quote #3

I think iuser1/2 is used to store the clients spectating information if you are using it on a player.
hlstriker is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 05-15-2009 , 08:28   Re: Using Entity Storage (iuser/fuser)
Reply With Quote #4

and fuser2 is triggered after jumping to generate the slowdown on landing, also on players

but these are made specially for this usage, so use them freely with entities
__________________

Last edited by Hunter-Digital; 05-15-2009 at 08:33.
Hunter-Digital is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-15-2009 , 08:56   Re: Using Entity Storage (iuser/fuser)
Reply With Quote #5

pev_euser*
pev_vuser*
pev_iuser*
pev_fuser*
__________________
xPaw 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 01:33.


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