#6

Quote:
Originally Posted by FreddoX [BINMAN
]
Quote:
Originally Posted by russooooo
Quote:
Originally Posted by FreddoX [BINMAN
]
Quote:
Originally Posted by ScottCFR
Just OnPlayerKeyAction then put a print function and see what it says the key is then make your own function with that
Yet again, facts wrong.

1) The key change callback is actually OnPlayerKeyStateChange.
2) OnPlayerKeyStateChange doesn't record the ESC key.

OnPlayerUpdate stops calling if a player tabs out, a way would be to set a timer every time that OnPlayerUpdate is called and then if it's not repeated - then use your code to SetPlayerName.
Now i'm curious, can you do an example please?
I could, but I can't really be bothered.

Take a look at this: http://forum.sa-mp.com/index.php?topic=78166.0
Ok, no prob. Thanks.
Reply


Messages In This Thread
ESC - by Aram555 - 22.04.2010, 23:23
Re: ESC - by ScottCFR - 23.04.2010, 00:09
Re: ESC - by Calgon - 23.04.2010, 01:23
Re: ESC - by russo666 - 23.04.2010, 01:30
Re: ESC - by Calgon - 23.04.2010, 01:40
Re: ESC - by russo666 - 23.04.2010, 01:43

Forum Jump:


Users browsing this thread: 1 Guest(s)