Open door with a key or something like that
#4

make it so that when you press the FIRE key a variable will change sorta like...
pawn Код:
new DoorKeyPressed[MAX_PLAYERS];

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if (PRESSED(KEY_FIRE))
    {
            DoorKeyPressed[playerid] = 1;
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)