Thanks for the help guys!
I tried deleteing everything I didn't need, so the FindEntityByClassname is hooked to OnPluginStart. However, for some reason, it does still seem like the entities are not beeing modified.
Here is my code:
Code:
public OnPluginStart()
{
new ent = FindEntityByClassname(ent, "func_tanktrain");
new String:classname[32];
GetEdictClassname(ent, classname, 32);
DispatchKeyValueFloat(ent, "orientationtype", 0.0);
}
I also tried this, but still no luck. Pretty sure it is a Float value.
Code:
public OnPluginStart()
{
new ent = FindEntityByClassname(ent, "func_tanktrain");
new String:classname[32];
GetEdictClassname(ent, classname, 32);
DispatchKeyValue(ent, "orientationtype", "0");
}
Thanks.