View Single Post
Author Message
pride95
Senior Member
Join Date: Aug 2015
Old 09-17-2017 , 07:53   set m_iEFlags to point_template
Reply With Quote #1

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.

Last edited by pride95; 09-17-2017 at 13:56.
pride95 is offline