/AFK System wont be marked on ServerFFS
#6

Quote:
Originally Posted by jameskmonger
Посмотреть сообщение
pawn Код:
#include <a_samp>

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

public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerConnect(playerid)
{
    SendClientMessage(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;
}
Ok i get these Errors, About colors, but there isnt any problems with the colors?

Код:
C:\Users\Usman\Desktop\Mac's AFK System.pwn(18) : error 017: undefined symbol "GREEN"
C:\Users\Usman\Desktop\Mac's AFK System.pwn(27) : error 017: undefined symbol "ORANGE"
C:\Users\Usman\Desktop\Mac's AFK System.pwn(31) : error 017: undefined symbol "ORANGE"
C:\Users\Usman\Desktop\Mac's AFK System.pwn(37) : error 030: compound statement not closed at the end of file (started at line 24)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)