JustPaste.it

#include <a_samp>
#include <zcmd>
#define COLOR_RED 0xAA3333AA
public OnPlayerCommandText(playerid, cmdtext[])
if (strcmp("/help", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED,"(INFO) Welcome to the /help command.");
    SendClientMessage(playerid, COLOR_RED,"Here is a list of commands:");
    SendClientMessage(playerid, COLOR_RED,"/AFK, /BRB, /Back, /V, /Code2, /Grapple, /LaserOn, /LaserOff, /VehicleControl");
    return 1;
}
if (strcmp("/AFK", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: /AFK (Makes you AFK. You cannot get killed or injured while AFK.)");
    return 1;
}
if (strcmp("/BRB", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: /BRB (Basically the same as /AFK but it says you will be right back on the chat.");
    return 1;
}
if (strcmp("/Back", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: Back (Turns /AFK or /BRB off an announces you are back.)");
    return 1;
}
if (strcmp("/V", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: /V (Brings up a dialog to spawn cars.)");
    return 1;
}
if (strcmp("/Code2", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: /Code2 (Turns on the just the emergency lights in any emergency vehicle.)");
    return 1;
}
if (strcmp("/Grapple", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: /Grapple (Makes it so you can use the silenced 9mm like a grapple hook shooter.)");
    return 1;
}
if (strcmp("/LaserOn", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: /LaserOn (Turns on a laser sight for certain weapons such as 9mm, M4, AK47, etc.)");
    return 1;
}
if (strcmp("/LaserOff", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: /LaserOff (Turns off the laser sight for weapons.)");
    return 1;
}
if (strcmp("/VehicleControl", cmdtext, true, 5) == 0)
{
    SendClientMessage(playerid, COLOR_RED, "USAGE: /VehicleControl (Displays the vehicle control commands.)");
    return 1;
}

 

C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(22) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(25) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(27) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(30) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(32) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(35) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(37) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(40) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(42) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(45) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(47) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(50) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(52) : error 010: invalid function or declaration
C:\Users\Noah\Desktop\Samp Server\filterscripts\helpcommand.pwn(55) : error 010: invalid function or declaration
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


18 Errors.

What did I do wrong?? :(