[Include] [INC] Torran's AFK System
#1

What is it?
An include AFK system

Who made it?
Torran

How do i install?
Download the Include, Put it in "server dir/pawno/include",
Make sure you have the ZCMD include, That is needed
Open up your gamemode/filterscript, Add below your includes
pawn Код:
#include <afk>
Add this in OnPlayerConnect
pawn Код:
afk_OnPlayerConnect(playerid);
Add this in OnPlayerDisconnect
pawn Код:
afk_OnPlayerDisconnect(playerid);
Goto your OnPlayerText callback, It should return 1, Change that 1 to:
pawn Код:
afk_OnPlayerText(playerid, text);
Your callback should now look something like this:
pawn Код:
public OnPlayerText(playerid, text[])
{
return afk_OnPlayerText(playerid, text);
}
What are the commands?
/afk & /back

What are the features?
Freezes player when goes AFK & adds a label above the players head indicating hes AFK
Also sends a message to all players telling them that the player is AFK

Where is the download?
http://pastebin.com/6MxiqXWn

I know theres alot of AFK systems atm but i did not see one thats a include
Reply
#2

Nice work!
Reply
#3

Dude you are doing great job !! Keep it up
Reply
#4

Tough there are TONS of afk systems, this one is just nice!!

ps, wht was zcmd used? for badassnes or it was actually needed?
Reply
#5

Quote:
Originally Posted by PlayON
Tough there are TONS of afk systems, this one is just nice!!

ps, wht was zcmd used? for badassnes or it was actually needed?
ZCMD include is needed in order for /afk and /back to work
Reply
#6

Lol, this looks almost the same as mine (with 3dtextlabels)


Anyway, good work.
Reply
#7

Quote:
Originally Posted by Sma_X
Lol, this looks almost the same as mine (with 3dtextlabels)


Anyway, good work.
Like someone like Joe is gonna copy someone like you...
Reply
#8

Quote:
Originally Posted by PlayON
Quote:
Originally Posted by Sma_X
Lol, this looks almost the same as mine (with 3dtextlabels)


Anyway, good work.
Like someone like Joe is gonna copy someone like you...
Why not? Joe isn't exactly a top scripter form post/topic's I've seen (Very big post hunter/ topic creator)

But for the include simple but nice.
Reply
#9

Nice dude keep up!!!
*ColdXX will use this!
Reply
#10

Quote:
Originally Posted by PlayON
Quote:
Originally Posted by Sma_X
Lol, this looks almost the same as mine (with 3dtextlabels)


Anyway, good work.
Like someone like Joe is gonna copy someone like you...
Chill man, I haven't blamed anyone.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)