[HELP] How to make AFK system???
#4

Download this:
http://solidfiles.com/d/515a1/

pawn Код:
#include OnPlayerPause

public OnPlayerPause(playerid)
{
    new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s is now AFK.",name);
    SendClientMessageToAll(COLOR_GOLD, string);
    return 0;
}
 
public OnPlayerUnPause(playerid)
{
    new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s is BACK.",name);
    SendClientMessageToAll(COLOR_GOLD, string);
    return 0;
}
Reply


Messages In This Thread
[HELP] How to make AFK system??? - by Type-R - 06.05.2011, 19:02
Re: [HELP] How to make AFK system??? - by Kobatz - 06.05.2011, 19:39
Re: [HELP] How to make AFK system??? - by Type-R - 06.05.2011, 21:40
Respuesta: [HELP] How to make AFK system??? - by Alex_Obando - 06.05.2011, 23:28
Re: [HELP] How to make AFK system??? - by Type-R - 07.05.2011, 02:43

Forum Jump:


Users browsing this thread: 2 Guest(s)