Detect Hydra Fire?
#1

Hey!

I'm trying to use GetPlayerKeys to detect if someone fired the hydra rockets (control by default) When they're not in a hydra, the detection works. But as soon as they enter the hydra, it stops detect if you pressed the control button. Any idea how I can detect hydra firing?
Reply
#2

Test it yourself.
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  new s[16];
  format(s, 16, "keyid = %d", newkeys);
  SendClientMessage(playerid, 0xFFFFFFFF, s);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)