Raised This Month: $ Target: $400
 0% 

[ Solved ] Store info at my created entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 02-05-2009 , 08:08   [ Solved ] Store info at my created entity
Reply With Quote #1

hello, how to store an some info, maybe text or numbers with spaces, in my entity what i created, its just info_target, ye i dont want use global variables, so for example i can store info at one place, and get it in other.

EDIT: oh i found way it was pev_message
PHP Code:
    set_pev(entitypev_message"hello_from_xpaw");

    
// [ ... ]

    
new szInfo[46];
    
pev(entitypev_messageszInfo45);
    
    
client_print(0print_chat"%s"szInfo); 
__________________

Last edited by xPaw; 02-05-2009 at 08:12. Reason: [ Solved ]
xPaw is offline
 


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 01:39.


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