I am coding a melon (Blue) to find the melon colored Red.
Since there may be multiple, I used this code:
[CODE]for k,v in pairs(ents.FindByName("melon_red"))[/CODE]
melon_red is the ent folder name. Is this correct? The code throws no errors but it does not execute the code thereafter.
[lua]for k,v in pairs(ents.FindByClass("melon_red"))[/lua]
Sorry, you need to Log In to post a reply to this thread.