Why my command isnt launching?
#1

Hey guys,

I made this little test command and it wouldnt launch it to my server....


Any clues?

pawn Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print(" Blank Gamemode by your name here");
    print("----------------------------------\n");
}

#endif



public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/hey", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: This is the /help command!");
        printf("I'm home");
        printf("I'm home");
        return 1;
   
    }
    return 0;
}
Reply


Messages In This Thread
Why my command isnt launching? [Giving +Rep] - by Alex_Obando - 01.10.2013, 01:54
Re: Why my command isnt launching? - by efrim123 - 01.10.2013, 02:29
Respuesta: Why my command isnt launching? - by Alex_Obando - 01.10.2013, 02:49
Re: Why my command isnt launching? - by Mattakil - 01.10.2013, 02:52

Forum Jump:


Users browsing this thread: 1 Guest(s)