AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Force player walk (https://forums.alliedmods.net/showthread.php?t=306191)

Saint Sinner 03-20-2018 06:39

Force player walk
 
Can someone get a example how can force a player to walk?

In forward only

This not working
Code:

#include <amxmodx>
#include <engine>
 
public client_PreThink(id)
{
        entity_set_int(id,EV_INT_button,IN_FORWARD);
}


Natsheh 03-20-2018 11:42

Re: Force player walk
 
By giving him velocity.


All times are GMT -4. The time now is 12:47.

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