10.06.2011, 20:01
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;
}
}