17.09.2011, 08:36
I get following errors in script (gamemode) :
this is some first lines
Код:
E:\bestgamemode.pwn(38) : error 017: undefined symbol "Gate" E:\bestgamemode.pwn(38) : warning 215: expression has no effect E:\bestgamemode.pwn(38) : error 001: expected token: ";", but found "]" E:\bestgamemode.pwn(38) : error 029: invalid expression, assumed zero E:\bestgamemode.pwn(38) : fatal error 107: too many error messages on one line
Код:
#include <a_samp> #define COLOR_WHITE 0xFFFFFFAA #define COLOR_RED 0xFF0000AA #define COLOR_GREEN 0x00FF00AA #define COLOR_BLUE 0x0000FFAA #define COLOR_GRAY 0xAFAFAFAA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_LIGHTBLUE 0x0AFFFFAA #define COLOR_PURPLE 0xFF00FFAA #define COLOR_ORANGE 0xFFBB00AA #if defined FILTERSCRIPT new Gate[2], bool:Open[3 char]; new Gate1,Gate2 bool:Open1,bool:Open2; main() { print("\n----------------------------------"); print(" Gamemode by iPwN"); print("----------------------------------\n"); } #endif public OnGameModeInit() { UsePlayerPedAnims(); { { Gate[0] = CreateObject(980,3097.79296875,-1450.046875,68.65291595459,0,0,90,Float:DrawDistance = 5.0); Gate[1] = CreateObject(980,2803.6767578125,-1450.3671875,68.637771606445,0,0,90,Float:DrawDistance = 5.0); return 1; }