Question

здраствуйте, я начинающий разработчик по павно, впервые столкнулся с ошибкой 10, не могли ли вы мне помочь ее решить?
 

C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(8) : error 017: undefined symbol "MAX_PLAYERS"
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(8) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(11) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(14) : error 017: undefined symbol "SendClientMessage"
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(23) : warning 235: public function lacks forward declaration (symbol "OnPlayerCommandText")
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(25) : error 017: undefined symbol "strcmp"
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(27) : error 017: undefined symbol "ShowPlayerDialog"
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(31) : error 017: undefined symbol "strcmp"
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(36) : error 017: undefined symbol "strcpy"
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(36) : error 002: only a single statement (or expression) can follow each "case"
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(36) : error 036: empty statement
C:\Users\tkach\Desktop\Nevada RP\gamemodes\new.pwn(36) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


10 Errors.
заранее спасибо.

Share this post


Link to post

1 answer to this question

  • 0

Проверь, работают ли у тебя инклуды и плагины. И проверь, есть ли они в config.php. И да, это не ошибка 10, а у тебя 10 ошибок
И скинь код с 8 по 36 строчки

Edited by kirillyt85

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By def
      arizona.pwn(23374) : error 012: invalid function call, not a valid address
      arizona.pwn(23374) : error 001: expected token: ";", but found ")"
      arizona.pwn(23374) : error 029: invalid expression, assumed zero
      arizona.pwn(23374) : fatal error 107: too many error messages on one line
      жалуется на данную строчку:
       
      %s{cccccc}Для продолжения нажмите 'Далее'",PN(playerid),playerid,ItemsInfo[itemid][ItemName2],hours,cost*hours,Inventory[playerid][2][slot], AksColorName(Inventory[playerid][4][slot]), Inventory[playerid][5][slot] ? GetNameStripe(Inventory[playerid][5][slot]) : "");