25.05.2012, 21:13
Hello SA-MP Forum Users, ;'d
I made a easy Filterscript...
Also Players can't abuse this script if they typ /afk you still can lose HP when you not tabbed etc,
Just look at the script
Download (AMX+PWN)
http://dl.dropbox.com/u/75302440/AfkBRBFs.rar
http://www.2shared.com/file/nOalz9ew/AfkBRBFs.html
I made a easy Filterscript...
Also Players can't abuse this script if they typ /afk you still can lose HP when you not tabbed etc,
Just look at the script
Download (AMX+PWN)
http://dl.dropbox.com/u/75302440/AfkBRBFs.rar
http://www.2shared.com/file/nOalz9ew/AfkBRBFs.html
Code:
CMD:afk(playerid, params []) { new string[129], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); SendClientMessage(playerid, COLOR_WHITE, "You are now AFK."); format(string,sizeof string, "%s is now AFK (Away From Keyboard).",pName); SendClientMessageToAll(0xFF0000AA,string); TogglePlayerControllable(playerid, 0); return 1; } CMD:brb(playerid, params []) { new string[129], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); SendClientMessage(playerid, COLOR_WHITE, "You are now BRB."); format(string,sizeof string, "%s is now BRB (Be Right Back).",pName); SendClientMessageToAll(0xFF0000AA,string); TogglePlayerControllable(playerid, 0); return 1; } CMD:back(playerid, params []) { new string[129], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,MAX_PLAYER_NAME); SendClientMessage(playerid, COLOR_WHITE, "You are no longer AFK/BRB."); format(string,sizeof string, "%s is no longer AFK/BACK.",pName); SendClientMessageToAll(0xFF0000AA,string); TogglePlayerControllable(playerid, 1); return 1; }