"enter" with key "C"
#8

You need to introduce some new variable or some additional conditional to check whether player is in interior, or he is not
pawn Код:
if (PRESSED( KEY_CROUCH ))
{
    if(some checking if not in interior)
    {
        tha' enter script...ya don't need to know :D
        return 1;
    } else {
        tha' exit script...ya don't need to know :D
        return 1;
    }
}
Reply


Messages In This Thread
"enter" with key "C" - by bloodrocklee - 03.08.2012, 13:48
Re: "enter" with key "C" - by andmeida10 - 03.08.2012, 13:54
Re: "enter" with key "C" - by bloodrocklee - 03.08.2012, 13:59
Re: "enter" with key "C" - by Vince - 03.08.2012, 14:09
Re: "enter" with key "C" - by bloodrocklee - 03.08.2012, 14:12
Re: "enter" with key "C" - by bloodrocklee - 03.08.2012, 14:14
Re: "enter" with key "C" - by bloodrocklee - 03.08.2012, 14:20
Re: "enter" with key "C" - by Misiur - 03.08.2012, 15:13
Re: "enter" with key "C" - by Hiddos - 03.08.2012, 15:14
Re: "enter" with key "C" - by SEnergy - 03.08.2012, 17:02

Forum Jump:


Users browsing this thread: 5 Guest(s)