Help in AFK System
#10

Код:
CMD:afk(playerid,params[])
{
   new wantedlevel = GetPlayerWantedLevel(playerid);
   if(playerid[wantedlevel] > 0)
		 return SendClientMessage(playerid, COLOR_WHITE, "{FF0000}[ERROR]{FFFFFF} You cannot go AFK(Away From Keyboard) with wanted level.");

    if(afk[playerid] == 0)
    {
         ShowPlayerDialog(playerid, afkdialog, DIALOG_STYLE_INPUT, "{FF0000}Reason:", "{FFFF00}Please Type Reason of going AFK Below.", "Done", "Cancel");
    }
    else
    {
         SendClientMessage(playerid, COLOR_WHITE, "{FF0000}[ERROR]{FFFFFF} You are already AFK(Away From Keyboard).");
    }
    return 1;
}
Reply


Messages In This Thread
Help in AFK System - by LegendAbdullah - 26.04.2018, 07:27
Re: Help in AFK System - by AdamsLT - 26.04.2018, 07:43
Re: Help in AFK System - by LegendAbdullah - 26.04.2018, 07:49
Re: Help in AFK System - by LegendAbdullah - 26.04.2018, 07:54
Re: Help in AFK System - by AdamsLT - 26.04.2018, 08:02
Re: Help in AFK System - by LegendAbdullah - 26.04.2018, 08:56
Re: Help in AFK System - by CodeStyle175 - 26.04.2018, 09:15
Re: Help in AFK System - by LegendAbdullah - 26.04.2018, 09:36
Re: Help in AFK System - by Stev - 26.04.2018, 10:04
Re: Help in AFK System - by UFF - 26.04.2018, 10:18

Forum Jump:


Users browsing this thread: 1 Guest(s)