Raised This Month: $ Target: $400
 0% 

Number of arguments does not match definition.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 03-04-2009 , 12:15   Re: Number of arguments does not match definition.
Reply With Quote #3

There are stock...


PHP Code:
fm_find_sphere_class(id"player"200.0iEnts1
PHP Code:
stock fm_find_sphere_class(aroundent, const _lookforclassname[], Float:radiusentlist[], maxents, const Float:_origin[3]) 

    static 
Float:origin[3
    if(!
pev_valid(aroundent)) 
    { 
        
origin[0] = _origin[0
        
origin[1] = _origin[1
        
origin[2] = _origin[2
    } 
    else 
        
pev(aroundentpev_originorigin
  
    new 
ent 0foundents 
    
while((ent engfunc(EngFunc_FindEntityInSpherearoundentoriginradius)) != 0
    { 
        if(!
pev_valid(ent)) 
            continue; 
  
        if(
foundents >= maxents
            break; 
  
        static 
classname[32
        
pev(entpev_classnameclassname31
  
        if(
equal(classname_lookforclassname)) 
        
entlist[foundents++] = ent 
    

    return 
foundents

xbatista is offline
Send a message via Skype™ to xbatista
 



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 17:06.


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