/AFK System wont be marked on ServerFFS
#1

Hey, i just made my first Script! I know its easy.. But this is my first script.
So when i was gonna upload it on ServerFFS, and tryed to Enable it by Marking, it. Then i clicked Sace Configuration, it saved but my script wasnt marked anymore.
I got 0Errors when compiling. So here is my script.

pawn Код:
#include <a_samp>

#if defined FILTERSCRIPT

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

public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerConnect(playerid)
{
    SendMessage(playerid,RED, " 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 1;
    }
    return 0;
}
#endif
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)