Raised This Month: $ Target: $400
 0% 

get_user_rendering ? oO


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 12-19-2008 , 11:57   Re: get_user_rendering ? oO
Reply With Quote #3

Quote:
Originally Posted by connorr View Post
Use pev and retrieve pev values.

If you really need a stock :
PHP Code:
get_user_rendering(id, &fx, &Float:flColor[3], &rendermode, &Float:renderamt)
{
    
fx pev(idpev_renderfx)
    
pev(idpev_rendercolorflColor)
    
rendermode pev(idpev_rendermode)
    
pev(idpev_renderamtrenderamt)

You slipped something: arrays are passe by reference by default, you can't use the &.
__________________

Community / No support through PM
danielkza 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 23:12.


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