Auto AFK
#2

First you need an AFK system(kick for example. But you have to remove the kick).
Then after you see if player is afk you can do this.
pawn Код:
new name[MAX_PLAYER_NAME], string[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "[AFK]%s", name);
SetPlayerName(playerid, string);
I am 99% sure this will work. If it doesnt work, you can get this as an example.
Reply


Messages In This Thread
Auto AFK - by icezoor - 10.10.2009, 17:34
Re: Auto AFK - by Dark_Kostas - 10.10.2009, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)