i am currently attempting to override the default projectile speed of all syringes, and yes, i have tried tf2items, that didn't work.
PHP Code:
#include <sourcemod>
#include <sdktools>
#include <sdkhooks>
#include <entity>
#pragma newdecls required
#pragma semicolon 1
public void Hook_EntitySpawned(int entity, const char[] ClassName)
{
if (StrEqual(ClassName,"tf_projectile_syringe")) {
float velocity[3];
GetEntPropVector(entity, Prop_Data, "m_vecVelocity", velocity);
velocity[0] *= 1.75;
velocity[1] *= 1.75;
velocity[2] *= 1.75;
TeleportEntity(entity, NULL_VECTOR, NULL_VECTOR, velocity);
}
}