31.07.2011, 21:30
I get these error.plz fix it.
#include <a_samp>
#if defined FILTERSCRIPT
new Menu:teleportmenu;
Here is pawn code.
#include <a_samp>
#if defined FILTERSCRIPT
new Menu:teleportmenu;
Here is pawn code.
Quote:
public OnGameModeInit() { SetGameModeText("Banda"); AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(275, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(287, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); teleportmenu = CreateMenu("Teleportmenu", 2, 200.0, 100.0, 150.0, 150.0); AddMenuItem(teleportmenu, 0, "LS"); AddMenuItem(teleportmenu, 0, "LS"); AddMenuItem(teleportmenu, 0, "SF"); AddMenuItem(teleportmenu, 0, "SF"); AddMenuItem(teleportmenu, 0, "LV"); AddMenuItem(teleportmenu, 0, "LV"); AddMenuItem(teleportmenu, 1, "Grove Street"); AddMenuItem(teleportmenu, 1, "Starfish Tower"); AddMenuItem(teleportmenu, 1, "Wheel Arch Angels"); AddMenuItem(teleportmenu, 1, "Jizzys"); AddMenuItem(teleportmenu, 1, "4 Dragons"); AddMenuItem(teleportmenu, 1, "Come-a-Lot"); return 1; } |
Код:
C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(38) : warning 217: loose indentation C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(38) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(39) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(40) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(41) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(42) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(43) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(44) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(46) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(47) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(48) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(49) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(50) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(51) : error 017: undefined symbol "teleportmenu" C:\Users\Jot\Desktop\SAMP Server\gamemodes\Banda.pwn(53) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 13 Errors.