Noox Posted June 23, 2014 Share Posted June 23, 2014 (edited) At the moment I have this but it's freezing the game Ped[] totalPeds = World.GetAllPeds();foreach(Ped currentPed in totalPeds){ currentPed.Delete()} also is there a way to spawn them again? every* Edited June 23, 2014 by Noox Link to comment Share on other sites More sharing options...
LordOfTheBongs Posted June 23, 2014 Share Posted June 23, 2014 (edited) ... Edited July 2, 2014 by LordOfTheBongs Link to comment Share on other sites More sharing options...
Noox Posted June 23, 2014 Author Share Posted June 23, 2014 (edited) Oh thanks I forgot about the player! EDIT: I adjusted the original code as I confused the variables. Edited June 23, 2014 by Noox Link to comment Share on other sites More sharing options...
LordOfTheBongs Posted June 23, 2014 Share Posted June 23, 2014 (edited) Oh thanks I forgot about the player! EDIT: I adjusted the original code as I confused the variables. ah i didnt even notice lol Edited June 23, 2014 by LordOfTheBongs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now