/AFK System wont be marked on ServerFFS
#5

pawn Код:
#include <a_samp>

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Mac's AFK System");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerConnect(playerid)
{
    SendMessage(playerid,GREEN, " Loading Mac's AFK System! ");
    return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/AFK", cmdtext, true, 10) == 1)
    {
    SendClientMessage(playerid,ORANGE," %s is now AFK! ");
   
    if (strcmp("/BACK", cmdtext, true, 10) == 1)
    {
    SendClientMessage(playerid,ORANGE," %s is now BACK! ");
   
    }
    return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)