Raised This Month: $12 Target: $400
 3% 

set m_iEFlags to point_template


Post New Thread Reply   
 
Thread Tools Display Modes
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
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode