Raised This Month: $ Target: $400
 0% 

What does public in code means?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 11-26-2010 , 12:08   What does public in code means?
Reply With Quote #1

What do I need to use of one of them:

PHP Code:
    {
        
SetUserFov(victimget_pcvar_num(cvar))
        
//set_task(0.1, "SetUserFov", victim, get_pcvar_num(cvar))
    

For this code:

PHP Code:
SetUserFov(idiFOV)
{
    
set_pdata_int(idm_iFOViFOVXO_PLAYER)
    
set_pev(idpev_foviFOV)

I tried it like that right now, and it doesn't work, with set_task, I can't even compile it.
bibu 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 11:27.


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