View Single Post
Brrdy
Senior Member
Join Date: Feb 2015
Old 03-09-2015 , 14:13   Re: [CS:GO] Replace all chickens
Reply With Quote #6

Quote:
Originally Posted by Exolent[jNr] View Post
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 }
Aww I see okay thank you Ill make sure to comment you in if you want
__________________
Need help with something regarding your plugin? Or want a new plugin made? For free!!?!?!?!??!? Click HERE! I will do nearly any request <3 If I post in scripting and I resolve and don't post how just shoot me a pm linking me the thread and I will update
Brrdy is offline