• Any code for a World prop to get removed?
    5 replies, posted
Hello I am currently using a map but it has a stupid door that wont open, iknow i can edit the map myself but i would like the code instead, i know it is a code were you put in the position and every time the server restart it will remove that world prop?
When the server starts use a for loop to go through all the props and remove the ones you dont want.
What did you mean? "Use a for loop"
If you dont know whats a for loop you better post this job in SF's jobs section. You clearly came here to get code, which is not the purpose of this forum.
[QUOTE=Dannyboy99;49124736]What did you mean? "Use a for loop"[/QUOTE] [code] for id,ent in pairs(ents.GetAll()) do [/code]
[QUOTE=Kevlon;49124755][code] for id,ent in pairs(ents.GetAll()) do [/code][/QUOTE] Thanks Kevlon :) [editline]16th November 2015[/editline] [QUOTE=tzahush;49124752]If you dont know whats a for loop you better post this job in SF's jobs section. You clearly came here to get code, which is not the purpose of this forum.[/QUOTE] As Said in my chat I only need the code! tzahush [editline]16th November 2015[/editline] Closed Reason: Resolved
Sorry, you need to Log In to post a reply to this thread.