Raised This Month: $ Target: $400
 0% 

[CS:GO] Replace all chickens


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-09-2015 , 14:10   Re: [CS:GO] Replace all chickens
Reply With Quote #5

You have to use that function to loop through all chicken entities.
Also, you need to specify quotes around the classname since it is a string, unless you have a variable chicken holding that string of "chicken".

Anyway, here is an example:
Code:
new entity = -1; while ((entity = FindEntityByClassName(entity, "chicken")) > 0) {     // Do something with entity }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 01:02.


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