View Single Post
Author Message
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 05-23-2020 , 01:00   Restore map state without restart
Reply With Quote #1

I am removing map's spawn weapon like awp_india gives players AWP by default with engfunc and finding and removing that entity

PHP Code:
engfuncEngFunc_RemoveEntityengfuncEngFunc_FindEntityByString, -1"classname""player_weaponstrip" ) );
engfuncEngFunc_RemoveEntityengfuncEngFunc_FindEntityByString, -1"classname""game_player_equip" ) ); 
But the thing is i want to restore original map state after sometime with some command without map restart, can anyone suggest how can i do that ? ( Maybe retrieving value of weapons from that entity and provide it again or how )

Edit: Nevermind, doing changes with this entity was not good, did it other way Thanks @Bugsy <3

Last edited by instinctpt1; 05-24-2020 at 02:03.
instinctpt1 is offline