Raised This Month: $ Target: $400
 0% 

func_vehicle HELP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 02-14-2013 , 23:59   func_vehicle HELP
Reply With Quote #1

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(classname31key31value31)
    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!

Last edited by Mxnn; 02-15-2013 at 00:12.
Mxnn is offline
 



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 20:35.


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