afk thingy
#3

Quote:
Originally Posted by DiMeNsIoN©
pawn Код:
if (strcmp("/afk", cmdtext, true, 4) == 0)
    {
      if(IsPlayerConnected(playerid))
      {
        new string[128];
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
        format(string,sizeof(string),"%s has now gone AFK!",name);
        SendClientMessageToAll(0x33AA33AA, string);
        }
        return 1;
    }
ty . it works
Reply


Messages In This Thread
afk thingy - by bartje01 - 20.02.2010, 16:24
Re: afk thingy - by DiMeNsIoN© - 20.02.2010, 16:34
Re: afk thingy - by bartje01 - 20.02.2010, 19:30

Forum Jump:


Users browsing this thread: 1 Guest(s)