|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: May 2012
Location: Netherland
Posts: 177
Reputation: 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 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;
}
|
|
|
|
|
|
#2 |
|
Big Clucker
![]() ![]() Join Date: Feb 2012
Location: India
Posts: 88
Reputation: 14
|
can you add a command as /whoisafk to find who is afk
?
|
|
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: May 2012
Location: Netherland
Posts: 177
Reputation: 13
|
When you stand 15 seconds on the same place you stand in the /listafk
This AFK List is based on Godfather, LS RP, NGG pawn Code:
Last edited by Kathleen; 26/05/2012 at 08:23 AM. Reason: Adding Text |
|
|
|
|
|
#4 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: May 2012
Posts: 688
Reputation: 49
|
Can you add /afk Reason & Back for /afk??
|
|
|
|
|
|
#5 |
|
Big Clucker
![]() ![]() Join Date: May 2012
Location: Netherland
Posts: 177
Reputation: 13
|
Sure, Here is the New Code for you bro <3
By the way, If you want i can make it with Label on your head also pawn Code:
|
|
|
|
|
|
#6 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Jun 2009
Location: Bulgaria
Posts: 343
Reputation: -5
|
|
|
|
|
|
|
#7 |
|
Big Clucker
![]() ![]() Join Date: May 2012
Location: Netherland
Posts: 177
Reputation: 13
|
Here is the CMD with label "I'm afk/brb" enjoy it, Before you include it,,,
Add this line by your other "NEW" or what else new Text3D:afkbrb[MAX_PLAYERS]; pawn Code:
|
|
|
|
|
|
#8 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: May 2012
Posts: 688
Reputation: 49
|
Can you help me with add there /afklist.. Cmd... for see Who is afk?
|
|
|
|
|
|
#9 | |
|
Big Clucker
![]() ![]() Join Date: May 2012
Location: Netherland
Posts: 177
Reputation: 13
|
Quote:
or msn elewoutr@hotmail.com (im not always active on MSN) |
|
|
|
|
|
|
#10 |
|
Banned
![]() Join Date: Sep 2011
Location: Where I m???
Posts: 166
Reputation: 9
|
excuse me! Look mine: http://forum.sa-mp.com/showthread.php?t=332879
Same system and you have just remove (/AFK) take a look on mine! and i was firs upload it! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Easy help for VIP | Dainyzxz | Help Archive | 8 | 07/01/2011 10:41 PM |
| Very easy! | Daniel_June | Help Archive | 4 | 05/02/2010 07:16 PM |
| Easy help.. anyone? | Shellegg | Help Archive | 4 | 18/03/2009 11:12 PM |
| Very easy but i don't know :S | harrold | Help Archive | 10 | 27/02/2009 08:35 PM |