[HELP] How to make keys work when dead.
#5

Well, i have made a quick test:
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if(newkeys & KEY_ACTION)
  {
    printf("DEBUG: debugMsg - works?");
  }
  return 1;
}
and it prints "DEBUG: debugMsg - works?" message into the console only when player is spawned (and if he presses the KEY_ACTION key), so i guess you can't detect any key when player is not spawned but i remember that someone (i think ******) talked about YSI that can detect keys but only left and right, but i'm not sure.

Edit: Found it - http://forum.sa-mp.com/index.php?top...2415#msg742415
Reply


Messages In This Thread
[HELP] How to make keys work when dead. - by Yoyoyo - 06.09.2009, 00:05
Re: [HELP] How to make keys work when dead. - by _Vortex - 06.09.2009, 00:16
Re: [HELP] How to make keys work when dead. - by Correlli - 06.09.2009, 00:17
Re: [HELP] How to make keys work when dead. - by Yoyoyo - 06.09.2009, 00:19
Re: [HELP] How to make keys work when dead. - by Correlli - 06.09.2009, 00:30
Re: [HELP] How to make keys work when dead. - by Yoyoyo - 06.09.2009, 00:36
Re: [HELP] How to make keys work when dead. - by Correlli - 06.09.2009, 00:38
Re: [HELP] How to make keys work when dead. - by Yoyoyo - 06.09.2009, 02:18
Re: [HELP] How to make keys work when dead. - by Correlli - 06.09.2009, 10:14

Forum Jump:


Users browsing this thread: 1 Guest(s)