Hi everybody. I need your help because I'm trying to set the vehicle maxspeed and I can't. 2 or 3 days ago I did it with this:
PHP Code:
#define CAR_SPEED "950.0"
public pfn_keyvalue(entid) {
new classname[32], key[32], value[32]
copy_keyvalue(classname, 31, key, 31, value, 31)
if (equali(classname,"func_vehicle"))
DispatchKeyValue(entid, "speed", CAR_SPEED)
}
But now the plugin don't works and I don't know why! I tried to comment all my plugin (excluding this function) to check if a part of my plugin was blocking it but didn't works.
Any help? Or any have an idea to set max speed?
I tried using entity_set_float(..EV_FL_maxspeed..) too, and didn't works neither.
Sory for my english!