Unused part:
pawn Код:
#if defined FILTERSCRIPT
//= - = - = - = - = - = - = - = DEFINES = - = - = - = - = - = - = - = - = - =//
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
#define COLOR_BRIGHTRED 0xE60000FF
#define COLOR_BLUE 0x76c2ffff
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_PURPLE 0x9900FFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_ORANGE 0xFF9933AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_TAN 0xFFFFCCAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_KHAKI 0x999900AA
#define COLOR_LIME 0x99FF00AA
#define COLOR_BLACK 0x000000AA
#define COLOR_TURQ 0x00A3C0AA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_DARKRED 0xAA993333
#define COLOR_VIOLET 0x9955DEEE
#define NICE_BLUE 0xa0d3ffAA
#define GREEN 0x21DD00FF
#define RED 0xE60000FF
#define ADMIN_RED 0xFB0000FF
#define YELLOW 0xFFFF00FF
#define ORANGE 0xF97804FF
#define LIGHTRED 0xFF8080FF
#define LIGHTBLUE 0x00C2ECFF
#define PURPLE 0xB360FDFF
#define PLAYER_COLOR 0xFFFFFFFF
#define BLUE 0x1229FAFF
#define LIGHTGREEN 0x38FF06FF
#define DARKPINK 0xE100E1FF
#define DARKGREEN 0x008040FF
#define ANNOUNCEMENT 0x00CACAFB
#define COLOR_SYSTEM 0xEFEFF7AA
#define NICESKY 0x99FFFFAA
#define GRAY 0xCECECEFF
#define red 0xE60000FF
#define yellow 0xFFFF00FF
#define MAX_SLOTS 30
#define INDEX 0
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
Delete this part
And
pawn Код:
AddPlayerClass(217,403.447265,2466.154296,16.506214,115.0000,0,0,0,1,0,0);
Explain me why do you give someone 1 ammo for fist?
Instead of writing GivePlayerWeapon in OnPlayerSpawn, you could write the weapon id's and amount of weapon ammo inside AddPlayerClass
Example:
pawn Код:
AddPlayerClass(217, 403.447265, 2466.154296, 16.506214, 115.0000, 36, 99999, 38, 99999, 0, 0);
By the way this is not a proper Team Death Match script.