Raised This Month: $ Target: $400
 0% 

Getting pev_iuser* on FM_SetModel


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bos93
Veteran Member
Join Date: Jul 2010
Old 04-19-2013 , 12:33   Re: Getting pev_iuser* on FM_SetModel
Reply With Quote #4

if(pev(iEnt, pev_iuser1)) returns zero

Example:

PHP Code:
public FM_Hook_SetModelpEntity, const szModel[ ] )
{
    new 
iId CSW_DEAGLE;
    
    
iId pevpEntitypev_iuser1) )
    
    
client_print0print_chat"%d"iId );

__________________
Bos93 is offline
Send a message via ICQ to Bos93 Send a message via Skype™ to Bos93
 



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:53.


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