01.10.2013, 01:54
(
Последний раз редактировалось Alex_Obando; 01.10.2013 в 02:25.
)
Hey guys,
I made this little test command and it wouldnt launch it to my server....
Any clues?
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;
}