Author Topic: Add Velocity To Player - Script!  (Read 9219 times)

Yes, because it's not. @_@

Actually it was for a while. kurly i finally managed to download it! :D

I actually think this could be quite helpful when making movies, or when somebody is hiding somewhere shooting people, *pop* there he is!


Enough about him being banned already!
NO!!we will continue to make jokes!
Quote
first post ya

User was banned for this post
LOL

Fu^



I guess this is a good script I just use events when needed for things

If you must *sigh*.

first post ya

User was banned for this post

that's nothing look at this kid


http://forum.blockland.us/index.php?action=profile;u=17795;sa=showPosts

He said first post one too many times

with fall damage, this could cause some real problems.

the game cums with that script

whats the point of this REALLY i dont get what it dos


Code: [Select]
function serverCmdVelocity(%client,%x,%y,%z,%name)
{
        %target = %client.player;
if(%client.isAdmin && %name !$= "")
%target = findClientByName(%name).player;
if(isObject(%target))
%target.setVelocity(vectorAdd(%target.getVelocity(),%x SPC %y SPC %z));
}

Oh the simplicity.



For those of you who don't get it, I'll explain it a little:

Code: [Select]
function servercmdVelocity(%client,%x,%y,%z,%name) //This tells the server all the makings of the command.
{
        %target = %client.player; //This simply means the target is the person you put for %name

if(%client.isAdmin //The person using the command must be admin.

        && %name !$= "") //The command won't work if there is nothing for %name.

%target = findClientByName(%name).player; //This finds the player you put for %name.

if(isObject(%target)) //If the player exists,

%target.setVelocity(vectorAdd(%target.getVelocity(),%x SPC %y SPC %z)); //Then launch it's ass away!
}

Really, it's pretty simple.

hey i made the exact same thing u copied

hey i made the exact same thing u copied

Date Registered:     June 26, 2009, 09:53:42 am

I doubt it

NICE

i see a use for this in mini games such as freefall dms