Question

Делал систему семей как на радмире, и столкнулся в 4 error.

: error 017: undefined symbol "Send"
C:\Users\Storm\Downloads\fantom.pwn(11143) : error 029: invalid expression, assumed zero
C:\Users\Storm\Downloads\fantom.pwn(11143) : error 001: expected token: ";", but found "]"
C:\Users\Storm\Downloads\fantom.pwn(11143) : error 029: invalid expression, assumed zero
C:\Users\Storm\Downloads\fantom.pwn(11143) : fatal error 107: too many error messages on one line

 

Строка 11143:     format(fmt_msg, sizeof fmt_msg, "{%06x}[F] %s %s[%d] âûäàë ïðåäóïðåæäåíèå èãðîêó %s [%d|3]. Ïðè÷èíà: %s", [GetFamilyData(GetPlayerData(playerid, P_FAMILY), F_COLOR)] >>> 8, GetFamilyRang(fam_id, rang_id), GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(to_player), GetPlayerData(to_player, P_FWARN) reason);

Share this post


Link to post

6 answers to this question

  • 0

@Mishura не наблюдаю строки "Send". 

Share this post


Link to post
  • 0
[GetFamilyData(GetPlayerData(playerid, P_FAMILY), F_COLOR)]

не понятно почему тут квадратные скобки стоят, нужно их брать:

GetFamilyData(GetPlayerData(playerid, P_FAMILY), F_COLOR)

 

Share this post


Link to post
  • 0

Новые ошибки error 001: expected token: ";", but found "-identifier-"error 029: invalid expression, assumed zeroerror 001: expected token: ",", but found "-identifier-"
C:\Users\Storm\Downloads\fantom.pwn(11143) : warning 215: expression has no effect
C:\Users\Storm\Downloads\fantom.pwn(11143) : error 001: expected token: ";", but found ")"
C:\Users\Storm\Downloads\fantom.pwn(11143) : error 029: invalid expression, assumed zero
C:\Users\Storm\Downloads\fantom.pwn(11143) : fatal error 107: too many error messages on one line
 

Edited by Mishura

Share this post


Link to post
  • 0

добавьте в конец " ; " .

Share this post


Link to post
  • 0

@Holmo Добавлено

format(fmt_msg, sizeof fmt_msg, "{%06x}[F] %s %s[%d] âûäàë ïðåäóïðåæäåíèå èãðîêó %s [%d|3]. Ïðè÷èíà: %s", GetFamilyData(GetPlayerData(playerid, P_FAMILY), F_COLOR) >>> 8, GetFamilyRang(fam_id, rang_id), GetPlayerNameEx(playerid), playerid, GetPlayerNameEx(to_player), GetPlayerData(to_player, P_FWARN) reason);
 

Share this post


Link to post
  • 0

помогло?

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • whg41515
      By whg41515
      здраствуйте, я начинающий разработчик по павно, впервые столкнулся с ошибкой 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.
      заранее спасибо.