AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   IN_RUN didn't work (https://forums.alliedmods.net/showthread.php?t=219958)

Randomize 07-05-2013 07:16

IN_RUN didn't work
 
Hey guys, I've tried with three ways.
First is using Fakemeta:
PHP Code:

public client_PreThink(id)
{
    if(
is_user_alive(id))
    {
        if(
pev(idpev_button) & IN_RUN)
        {
            
client_print(idprint_chat"run")
        }
    }


Second engine:
PHP Code:

public client_PreThink(id)
{
    if(
is_user_alive(id))
    {
        if(
entity_get_int(idEV_INT_button) & IN_RUN)
        {
            
client_print(idprint_chat"run")
        }
    }


Third:
Use his way: https://forums.alliedmods.net/showpo...34&postcount=3

No one worked. :(

.Dare Devil. 07-07-2013 11:48

Re: IN_RUN didn't work
 
https://forums.alliedmods.net/showpo...75&postcount=7

Randomize 07-09-2013 02:10

Re: IN_RUN didn't work
 
Thankyou. :3


All times are GMT -4. The time now is 06:23.

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