Torran
05/05/2010, 12:22 PM
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#include <afk>
Add this in OnPlayerConnectafk_OnPlayerConnect(playerid);
Add this in OnPlayerDisconnectafk_OnPlayerDisconnect(playerid) ;
Goto your OnPlayerText callback, It should return 1, Change that 1 to: afk_OnPlayerText(playerid, text);
Your callback should now look something like this: 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
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#include <afk>
Add this in OnPlayerConnectafk_OnPlayerConnect(playerid);
Add this in OnPlayerDisconnectafk_OnPlayerDisconnect(playerid) ;
Goto your OnPlayerText callback, It should return 1, Change that 1 to: afk_OnPlayerText(playerid, text);
Your callback should now look something like this: 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