Hello,
The map rp_riverside_b4 have a Func_Brush (Name : night_skybox)
It surrounds a 3d skybox
It's possible to disable it (func_brush) for see the 3D skybox ?
I have try to use
Code:
new maxent = GetMaxEntities(), String:szClass[65], String:Name[200];
for (new i = MaxClients; i <= maxent; i++)
{
if(IsValidEdict(i) && IsValidEntity(i))
{
if(StrEqual("func_brush", szClass))
{
Entity_GetName(i, Name, sizeof(Name));
if (StrEqual(Name, "night_skybox"))
{
PrintToChatAll("func_brush night_skybox Disable.");
AcceptEntityInput(i, "Disable");
}
}
}
}
but nothing happened ....
Thanks in advance !
__________________