HTML Code:
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
public OnEntityCreated(entity, const String:classname[])
{
if(entity > MaxClients && IsValidEntity(entity))
{
new String: name[32];
GetEntityClassname(entity, name, sizeof(name));
if(StrEqual(name, "point_template"))
SetEntProp(entity, Prop_Send, "m_iEFlags", 0);
}
}
this doesnt works, any ideas?
i wanna replace the infinite weapon spawn from point_template with just one spawn.