Now I don't want any code, I just want to know if I'm on the right track & what I might do to better improve it.
PLEASE DONT GIVE ME FINISHED CODE
PHP Code:
#include <sourcemod>
#include <sdkhooks>
public void OnPluginStart()
{
HookEvent("OnEntityCreated", Event_EntityCreated);
}
public Action Event_EntityCreated(Handle event, int iEntity, const char[] EntityName)
{
if (iEntity == "grenade_projectile")
{
int iGrenadeUser = GetEntProp(iEntity, Prop_Data, "m_hThrower"); //Gets user for killfeed
SetEntProp(iEntity, "color", "255 0 0"); //Sets Smoke Grenade to Red
}
}