[Include] Smart AFKTabbing (Detect AFK, Alt-Tab, and Macro)
#21

Quote:
Originally Posted by wups
Посмотреть сообщение
There are more efficient ways to do it(for the alttabing). Btw it shouldn't be called alt-tabbing, because it returns true even if you pressed the pause key(ESC).
pawn Код:
new PlayerTick[MAX_PLAYERS];
#define IsPlayerAfk(%0) (PlayerTick[%0]+1000 < GetTickCount())
public OnPlayerUpdate(playerid)
{
    PlayerTick[playerid]=GetTickCount();
}
I'd never think that way well I guess I can test it because your words give me some more ideas (I want the fastest one).
Thanks.
Reply
#22

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
I'd never think that way well I guess I can test it because your words give me some more ideas (I want the fastest one).
Thanks.
Don't bother, it's already released.. somewhere.
Reply
#23

Quote:
Originally Posted by wups
Посмотреть сообщение
Don't bother, it's already released.. somewhere.
Yeah, I already released it almoust a year ago in my GarInc include.
Reply
#24

Quote:
Originally Posted by [03]Garsino
Посмотреть сообщение
Yeah, I already released it almoust a year ago in my GarInc include.
Its like.. there's already ~10 house systems
there's already ~5 vehicle spawners
there's already ~20 admin systems.

and for the fs:

don't use char arrays for player, since max_player by default is 500, and max "char array" value can be 255.
Reply
#25

This is just check the player?
Why { }?
Reply
#26

Quote:
Originally Posted by letters
Посмотреть сообщение
This is just check the player?
Why { }?
Yes.
Because it's using char-array.
Reply
#27

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
Yes.
Because it's using char-array.
Char-arary
Reply
#28

Quote:
Originally Posted by letters
Посмотреть сообщение
Char-arary
Char-array
http://forum.sa-mp.com/showthread.ph...highlight=tips
Reply
#29

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
Thanks
Reply
#30

"Annoying? I don't think so. And I put the "money making links" just in the first time (Even from Smart Chat V1 after some days)."

One quote *

"I edit them to write "No mirror please"

And you download Smart Chat V2. not V3.1
Face it."

Two quotes

---

So I've downloaded V2 whilst your saying that you've put these money making links since "V1", you know what, I'm not going to respond to any responses by you till you make me respond by answering with a detailed and with some sense inside it.
Reply
#31

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
"Annoying? I don't think so. And I put the "money making links" just in the first time (Even from Smart Chat V1 after some days)."

One quote *

"I edit them to write "No mirror please"

And you download Smart Chat V2. not V3.1
Face it."

Two quotes

---

So I've downloaded V2 whilst your saying that you've put these money making links since "V1", you know what, I'm not going to respond to any responses by you till you make me respond by answering with a detailed and with some sense inside it.
V1 and V2 have different topic.
https://sampforum.blast.hk/showthread.php?tid=265018
Anyway, I don't need your respond. I'm just defending myself from your non-sense talking.
You love it? Give a "thanks". You hate it, give a "comment", not a "taunt".
Reply
#32

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
V1 and V2 have different topic.
https://sampforum.blast.hk/showthread.php?tid=265018
Anyway, I don't need your respond. I'm just defending myself from your non-sense talking.
You love it? Give a "thanks". You hate it, give a "comment", not a "taunt".
Before my last comment, I'm going to "taunt" on you because you're bringing out false information to state that you're intelligent by going off topic. I'm making sense, and I can understand what I say. It's 'response', not 'respond'. What's with people nowadays that say that us people expressing our opinions and giving non-sense talking.
Reply
#33

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Before my last comment, I'm going to "taunt" on you because you're bringing out false information to state that you're intelligent by going off topic. I'm making sense, and I can understand what I say. It's 'response', not 'respond'. What's with people nowadays that say that us people expressing our opinions and giving non-sense talking.
False information? Going off topic?
Just because I'm answering your post, it's off topic?
I answer each of your post, and you're keep talking and talking.
Just because you have no idea what to say to "taunt" me again, don't blame me.

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
It's actually bullshit how you're putting everything into cash earning links. I can code one for the community for free instead of them having to hassle to go through heaps of links to get the see the source.



nice anyway.
Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Bahahhaha, you're really annoying and funny. I posted my comment before you'd set up your money making links. I find this too damn useless when you have "wups" release a way damn better one.
That's doesn't sounds like, "opinion" (Or maybe you call it "Hard Opinion").
Reply
#34

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
False information? Going off topic?
Just because I'm answering your post, it's off topic?
I answer each of your post, and you're keep talking and talking.
Just because you have no idea what to say to "taunt" me again, don't blame me.





That's doesn't sounds like, "opinion" (Or maybe you call it "Hard Opinion").
Go match your topic title and smart chat and see if that has anything to do with this topic

"Bahahhaha, you're really annoying and funny. I posted my comment before you'd set up your money making links. I find this too damn useless when you have "wups" release a way damn better one."

Theres a oppinion.
Reply
#35

Sorry for the spam post in each of my include but I really update all ALS hook as it's bugged each other.
Reply
#36

can u upload to pastebin please? thanks
Reply
#37

Quote:
Originally Posted by =WoR=Varth
Посмотреть сообщение
It's Smart AFKTabbing, not Smart Virus.
Lol

OT: Good work.


Add this tho, Pastebin link: http://pastebin.com/njQcFQcc
Reply
#38

How can I do that when a player is in menu or on the desktop that above his head, "Player has %d seconds in the menu or the desktop." ?
Reply
#39

Quote:
Originally Posted by imagician
Посмотреть сообщение
How can I do that when a player is in menu or on the desktop that above his head, "Player has %d seconds in the menu or the desktop." ?
Sorry for the late response.
Actually idk if this include can still be used for detecting Alt-Tabber, as there's no pause when player press esc or alt-tabbing. I'll try this out later. Being away too long lol.
Reply
#40

Wow.

It auto detects when player is afk.


Thanks I'm gonna add it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)