C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(213) : warning 225: unreachable code C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(213) : warning 217: loose indentation C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(213) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(213) : error 017: undefined symbol "cmd_credits" C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(213) : error 029: invalid expression, assumed zero C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(213) : fatal error 107: too many error messages on one line
COMMAND:credits(playerid, params[]) { SendClientMessage(playerid,COLOR_YELLOW, "Thank You to HayZatic For Making The Gamemode"); SendClientMessage(playerid,COLOR_YELLOW, "Thank You to Ricardo For Making The AdminSystem"); SendClientMessage(playerid,COLOR_YELLOW, "Me And Ricardo Thank You For Playing At The Server!"); return 1; }
COMMAND:kill(playerid, params[]) { SetPlayerHealth(playerid,0); SendClientMessage(playerid,COLOR_YELLOW, "You Have Killed Yourself"); return 1; COMMAND:credits(playerid, params[]) { SendClientMessage(playerid,COLOR_YELLOW, "Thank You to HayZatic For Making The Gamemode"); SendClientMessage(playerid,COLOR_YELLOW, "Thank You to Ricardo For Making The AdminSystem"); SendClientMessage(playerid,COLOR_YELLOW, "Me And Ricardo Thank You For Playing At The Server!"); return 1; } COMMAND:weaponshop(playerid, params[]) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Welcome To PhIl's Weps", "Weapons\nAmmo\nItems", "Accept", "Cancel"); return 1; } COMMAND:myteam(playerid, params[]) { if (pTeam[playerid] == team_Army) { SendClientMessage(playerid, COLOR_RED, "You Are In The Army"); } else if (pTeam[playerid] == team_FBI) { SendClientMessage(playerid, COLOR_GREEN, "You Are An FBI Agent"); } return 1; }
#include <a_samp> #include <zcmd> new pTeam[MAX_PLAYERS]; #define team_Army 2 #define team_FBI 1 #define COLOR_GREY 0xAFAFAFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_BRIGHTRED 0xFF0000AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_PINK 0xFF66FFAA #define COLOR_BLUE 0x3A47DEFF #define COLOR_TAN 0xBDB76BAA #define COLOR_PURPLE 0x800080AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_LIGHTBLUE 0x33CCFFAA #define COLOR_ORANGE 0xFF9900AA #define COLOR_INDIGO 0x4B00B0AA #define COLOR_BLACK 0x00000000 #define COLOR_DARKGREY 0x696969FF #define COLOR_RED 0xFF0000AA #define COLOR_LIGHTGREEN 0x9ACD32AA #if defined FILTERSCRIPT #pragma dynamic 8192 #pragma tabsize 0
The Weird this is i did because i have other commands ill show you
Код:
COMMAND:kill(playerid, params[]) { SetPlayerHealth(playerid,0); SendClientMessage(playerid,COLOR_YELLOW, "You Have Killed Yourself"); return 1; |