Player Tabbing & Player Typing
#1

It's been a long time that I've not been on SA:MP. I've seen that there are a couple of new features added to SA:MP. One of them is the tabbed icon near a player's head when they're tabbed from the game.

Is there a way or a callback to check wether a player is tabbed?

Second, is there a way to check if the player is typing by default to place, for instance a 'is typing...' above their heads?
Reply
#2

You mean to check if the player is AFK? When the player is AFK he doesn't update so use OnPlayerUpdate.

2 I don't think so.
Reply
#3

1.There is an include for checking wether the player's AFK or not. Link
2.No way to do that, instead, you can check what player has sent.
Reply
#4

That topic had been edited in 2012. I'm sure something has changed to do this a lot easier. Funny that SA:MP has it working but there's no function for the developers to check true or false.

My idea was to check if the player is pressing keys, that way you can create exceptions and get a similar way for it.

Hopefully the SA:MP team will add those tiny features, it'll make our lifes a lot easier ;(
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)