AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   A question about the vector~ (https://forums.alliedmods.net/showthread.php?t=135663)

MapleRabbit 08-18-2010 11:08

A question about the vector~
 
I've tried to make it , but it seems so hard for me to find the way or function to get the vector...

that is ,how can I get the vector when I have the origin , angle(a array angle[3]) , and a specific speed , how can I get the velocity vector?

Thank you very much:)


(sorry for my poor English and Math , In fact I'm only a high school student XD)

Arkshine 08-18-2010 11:13

Re: A question about the vector~
 
new Float:velocity[3];
pev( index, pev_velocity, velocity );

Also, see http://forums.alliedmods.net/showthread.php?t=91474


All times are GMT -4. The time now is 21:54.

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