Raised This Month: $ Target: $400
 0% 

Finding certain entity in sphere


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SkazzY
AlliedModders Donor
Join Date: Nov 2014
Location: Forbidden Forest
Old 05-11-2016 , 18:51   Re: Finding certain entity in sphere
Reply With Quote #10

PHP Code:
Currently loaded plugins:
      
description      stat pend  file              vers      src  load  unlod
 
1AMX Mod X        RUN   -    amxmodx_mm.dll    v1.8.1.3  ini  Start ANY  
 
2Fun              RUN   -    fun_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
 
3Engine           RUN   -    engine_amxx.dll   v1.8.1.3  pl1  ANY   ANY  
 
4FakeMeta         RUN   -    fakemeta_amxx.dl  v1.8.1.3  pl1  ANY   ANY  
 
5CStrike          RUN   -    cstrike_amxx.dll  v1.8.1.3  pl1  ANY   ANY  
 
6CSX              RUN   -    csx_amxx.dll      v1.8.1.3  pl1  ANY   ANY  
 
7Ham Sandwich     RUN   -    hamsandwich_amxx  v1.8.1.3  pl1  ANY   ANY  
 
8MySQL            RUN   -    mysql_amxx.dll    v1.8.1.3  pl1  ANY   ANY  
8 plugins
8 running 
Yes, it was same entity (40) whole time.
I changed from :
PHP Code:
while((ent find_ent_in_sphere(id,origin,512.0)) != 0
to
PHP Code:
while((ent engfunc(EngFunc_FindEntityInSphere,id,origin,512.0)) != 0
error is still there, but i just wondered what would happen if i did it multiple times at different places. First time same error with entity 50, second time on different side of the map same error with entity 40, third time same place as first time error with entity 40.
SkazzY 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 18:37.


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