#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" VehCommands by phantomcraft ");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
COMMAND:whatsup(playerid, params[]) // or CMD:mycommand(playerid, params[])
{
SendClientMessage(playerid, 0xF70C6BFF, "WHATSUP");
return 1;
}
COMMAND:nigger(playerid, params[]) // or CMD:mycommand(playerid, params[])
{
SendClientMessage(playerid, 0xF70C6BFF, "nigger");
return 1;
}
|
as long as you include the zcmd file, then your code is fine.
|