Raised This Month: $ Target: $400
 0% 

how to trigger an entity which has defined targetname ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
elle
Member
Join Date: Feb 2011
Old 05-08-2012 , 12:37   Re: how to trigger an entity which has defined targetname ?
Reply With Quote #7

Quote:
Originally Posted by <VeCo> View Post
PHP Code:
new ent2 0
while((ent2 engfunc(EngFunc_FindEntityByStringent2"targetname""bombtargeta"))) { 
It should be = -1, also don't return anything ever in a loop.
thank you for helping ,but :
i tried changing new ent2 = -1
but that bugs still happens (stack error)
if i dont return PLUGIN_HANDLED in while "loop", it will cause overflow error and crash the game
elle 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 20:28.


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