dcmd_armme(playerid,params[])
{
#pragma unused params
if(IsRegularPlayer[playerid] != 1337)
{
SendClientMessage(playerid,COLOR_GREY,"{FF0000}[ERROR]: {FFFFFF}You have recived M4A1,SPAS,Deagle.You have recived a health increse and armour.");
return 1;
{
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,27,9999);
SetPlayerHealth(playerid,150);
SetPlayerArmour(playerid,100);
return 1;
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2275) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2278) : error 017: undefined symbol "ShowLoginScreen"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2281) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2284) : error 017: undefined symbol "ShowRegisterScreen"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2319) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2320) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2321) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2322) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2323) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2324) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2325) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2326) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2327) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2328) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2329) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2330) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2331) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2332) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2333) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2334) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2338) : error 004: function "ResetVariables" is not implemented
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2347) : error 004: function "RemoveRoadblock" is not implemented
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2370) : error 017: undefined symbol "PlayerName"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2400) : error 017: undefined symbol "PlayerObjectUpdate"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2544) : error 017: undefined symbol "StopLoopingAnim"
C:\Users\WeeD\Desktop\samp03\gamemodes\NLCNR.pwn(2550) : error 017: undefined symbol "PlayerName"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
dcmd_armme(playerid,params[])
{
#pragma unused params
if(IsRegularPlayer[playerid] != 1337)
{
SendClientMessage(playerid,COLOR_GREY,"{FF0000}[ERROR]: {FFFFFF}You have recived M4A1,SPAS,Deagle.You have recived a health increse and armour.");
return 1;
{
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,27,9999);
SetPlayerHealth(playerid,150);
SetPlayerArmour(playerid,100);
return 1;
}
//Regular Player Commands//
dcmd(afk,3,cmdtext);
dcmd(back,4,cmdtext);
dcmd(rc,2,cmdtext);
dcmd(armme,5,cmdtext);
#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
//Colours
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_AKSHAY 0xF0F8FFAA
#define COLOR_INVISABLE 0x000000AA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_DEEPSKYBLUE 0x00BFFFAA
#define COLOR_BROWN 0xA52A2AAA
#define COLOR_RED 0xFF0000AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_DARKVIOLET 0x9400D3AA
#define COLOR_VIOLETBLUE 0x8A2BE2AA
#define COLOR_DEADCONNECT 0x808080AA
#define COLOR_BLUE 0x0000FFAA
#define COLOR_FORESTGREEN 0x228B22AA
#define COLOR_DODGERBLUE 0x1E90FFAA
#define COLOR_DARKOLIVEGREEN 0x556B2FAA
#define COLOR_ORANGE 0xFFA500AA
#define COLOR_PURPLE 0x800080AA
#define COLOR_ROYALBLUE 0x4169FFAA
#define COLOR_ERROR 0xD2691EAA
#define COLOR_PINK 0xFF0080FF
#define COLOR_SEXYGREEN 0x00FF00FF
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIME 0x10F441AA
#define COLOR_ADMIN 0x33CCFFAA
#define COLOR_CYAN 0x40FFFFFF
#define COLOR_ORANGERED 0xFF4500AA
#define TEAM_COP 1
#define TEAM_ARMY 2
#define TEAM_MEDIC 3
#define TEAM_CARFIX 4
#define TEAM_SWAT 5
#define TEAM_DRIVER 6
#define TEAM_BISTRO 7
#define TEAM_JAILTK 8
#define TEAM_PVTMED 9
#define TEAM_CIVIL 10
#define TEAM_GASDEL 11
#define TEAM_DRGDEL 12
#define TEAM_HITMAN 13
#define TEAM_GUNDEL 14
#define TEAM_SNITCH 15
#define TEAM_RAPIST 16
#define TEAM_BOUNTY 17
#define TEAM_KIDNAP 18
#define TEAM_DJUNKIE 19
#define TEAM_THIEF 20
#define TEAM_PIMP 21
#define TEAM_PILOT 22
#define TEAM_SMUG 23
#define TEAM_TERRO 24
#define TEAM_CARJACK 25
#define TEAM_FIRE 26
#define TEAM_EGG 27
#define DIALOG_LOGIN 1
#define DIALOG_REGISTER 2
#define DIALOG_COMMANDS 3
#define DIALOG_SKILLINFO 4
#define DIALOG_ADCMDS 5
#define DIALOG_BANK_LIST 6
#define DIALOG_BANK_WITHDRAW 7
#define DIALOG_BANK_DEPOSIT 8
#define DIALOG_BANK_BALANCE 9
#define DIALOG_SWATSAT 10
#define DIALOG_SUPASAVE 11
#define DIALOG_DRUGHOUSE 12
#define DIALOG_WEAPONS 13
#define DIALOG_OTTO 14
#define DIALOG_BOMBSHOP 15
#define DIALOG_TERRORIST 16
#define DIALOG_ROBSKILL 17
#define DIALOG_BURGERSHOT 18
#define DIALOG_CLUCKINBELL 19
#define DIALOG_AMMUNATION 20
#define DIALOG_GAYDAR 21
#define DIALOG_ZERO 22
#define DIALOG_MISTYS 23
#define DIALOG_GYM 24
#define DIALOG_SCHOOL 25
#define DIALOG_WANGCARS 26
#define DIALOG_TRAIN 27
#define DIALOG_BARBERS 28
#define DIALOG_HOSPITAL 29
#define DIALOG_JIZZYS 30
#define DIALOG_PIZZA 31
#define DIALOG_ZIP 32
#define DIALOG_VICTIM 33
#define DIALOG_BINCO 34
#define DIALOG_CITYHALL 35
#define DIALOG_INVENTORY 36
#define DIALOG_CREDITS 37
#define DIALOG_RULES 38
#define DIALOG_PC 39
#define DIALOG_CHANGEPASS 40
#define DIALOG_CHANGENAME 42
#define MAX_ROADBLOCKS 35
#define MAX_SPAM 5
#define SPEC_TYPE_NONE 0
#define SPEC_TYPE_PLAYER 1
#define SPEC_TYPE_VEHICLE 2
//Checkpoint defines
#define CP_SFPDEnt 0
#define CP_SFPDExit 1
#define CP_DropOff 2
#define CP_BankEnt 3
#define CP_BankExit 4
#define CP_BankMain 5
#define CP_SWATEnt 6
#define CP_SWATExit 7
#define CP_SWATExit2 8
#define CP_SWATSat 9
#define CP_FBIEnt 10
#define CP_FBIExit 11
#define CP_SupaSaveEnt 12
#define CP_SupaSaveExit 13
#define CP_SupaSaveMain 14
#define CP_DrugHouseCaltonHeights 15
#define CP_DrugHouseOceanFlats 16
#define CP_DrugHouseParadiso 17
#define CP_DrugHouseJuniperHollow 18
#define CP_ShipYard 19
#define CP_OttoCP 20
#define CP_BombShop 21
#define CP_SWATSatBlow 22
#define CP_SWATBridge 23
#define CP_BurgerShotMain 24
#define CP_CluckinBellMain 25
#define CP_Ammunation 26
#define CP_GayDarMain 27
#define CP_ZeroMain 28
#define CP_MistysMain 29
#define CP_GYM 30
#define CP_School 31
#define CP_WangCars 32
#define CP_Train 33
#define CP_Barbers 34
#define CP_CityHallEnt 35
#define CP_Hospital 36
#define CP_Jizzys 37
#define CP_PizzaMain 38
#define CP_ZipMain 39
#define CP_VictimMain 40
#define CP_BincoMain 41
#define CP_CityHallExit 43
#define CP_CityHallMain 43
#define MAX_POINTS 44
#define MAX_PLAYERS_ 35
dcmd_armme(playerid,params[])
{
#pragma unused params
if(IsRegularPlayer[playerid] != 1337)
{
SendClientMessage(playerid,COLOR_GREY,"{FF0000}[ERROR]: {FFFFFF}You have recived M4A1,SPAS,Deagle.You have recived a health increse and armour.");
return 1;
}
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,27,9999);
SetPlayerHealth(playerid,150);
SetPlayerArmour(playerid,100);
return 1;
}
pawn Код:
|
dcmd_armme(playerid,params[])
{
#pragma unused params
if(IsRegularPlayer[playerid] != 1337)
{
SendClientMessage(playerid,COLOR_GREY,"{FF0000}[ERROR]: {FFFFFF}You have recived M4A1,SPAS,Deagle.You have recived a health increse and armour.");
return 1;
{
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,27,9999);
SetPlayerHealth(playerid,150);
SetPlayerArmour(playerid,100);
return 1;
}
SendClientMessage(playerid,COLOR_GREY,"{FF0000}[ERROR]: {FFFFFF}You have recived M4A1,SPAS,Deagle.You have recived a health increse and armour.");
return 1;
{//here u put this bracket but it should be }