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:
engfunc( EngFunc_RemoveEntity, engfunc( EngFunc_FindEntityByString, -1, "classname", "player_weaponstrip" ) );
engfunc( EngFunc_RemoveEntity, engfunc( EngFunc_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