AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Best way of letting player move (https://forums.alliedmods.net/showthread.php?t=193010)

Merciless 08-15-2012 17:17

Best way of letting player move
 
Hello;

Whats the best way to let a player move automatic forwards with a amount of speed?

Currently I use prethink and then velocity_by_aim;

but I feel like its a pretty bad way.

Any suggestions?

lazarev 08-15-2012 18:36

Re: Best way of letting player move
 
forwardmove/sidemove

Merciless 08-15-2012 18:46

Re: Best way of letting player move
 
Hmm, cant find much information about forwardmove,

how to use it?

[EDIT]
I guess its
get_uc(uc_handle, UC_ForwardMove, fmove);

Merciless 08-15-2012 19:00

Re: Best way of letting player move
 
Quote:

Originally Posted by lazarev (Post 1772447)
forwardmove/sidemove

PHP Code:

public FMCmdStartiduc_handlerandseed )
{
    
set_uc(uc_handleUC_ForwardMove600.0)


Doesnt work, how todo it?


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

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