AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   standard velocity (https://forums.alliedmods.net/showthread.php?t=27255)

Ramono 04-18-2006 11:06

standard velocity
 
Hello,

I want to set a standard velocity in a plugin, but it gives errors what ever i try.
:
Code:
set_user_velocity(id,50.0 0.0 0.0) set_user_velocity(id,"50.0 0.0 0.0") set_user_velocity(id,50.0,0.0,0.0) set_user_velocity(id,50 0 0)

Thanks,
Ramon.

Twilight Suzuka 04-18-2006 11:27

Thats cause...all of those are wrong...

Code:

new Float:vec[3]
vec[0] = 50.0


Ramono 04-18-2006 11:39

... Ok ty


All times are GMT -4. The time now is 05:07.

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