I fund some problems:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
f(strcmp(cmdtext, "/menu", true) == 0) {// It shuld be a i in the begining...
ShowMenuForPlayer(carmenu, playerid); //ha бtнrtad a telemenu-t az elejйn akkor szintйn нrd бt itt is
}
return 0;
}
And delite this:
#if defined FILTERSCRIPT
and
#endif
this shuld work... NOT TESTED!
Edit many warning error but i have no time to fix it so pls help him...!
Код:
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(23) : warning 217: loose indentation
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(50) : error 029: invalid expression, assumed zero
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(51) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(62) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(73) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(84) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(95) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(106) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(117) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(119) : error 002: only a single statement (or expression) can follow each "case"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(119) : warning 221: label name "Float" shadows tag name
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(119) : error 017: undefined symbol "X"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(119) : warning 215: expression has no effect
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(123) : error 017: undefined symbol "X"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(125) : error 017: undefined symbol "X"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(126) : error 017: undefined symbol "X"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(127) : error 017: undefined symbol "COLOR_GREEN"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(119) : warning 203: symbol is never used: "Float"
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(119 -- 129) : error 054: unmatched closing brace ("}")
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(119 -- 130) : error 010: invalid function or declaration
C:\Users\Robin\Desktop\Nerladdat\CarMenu.pwn(119 -- 130) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
17 Errors.