• 0
Sign in to follow this  
Followers 0
Guest nezoxi2

[закрыто] 5 ошибок, помогите

Question

ОШИБКА:

 

C:\Users\mmajk\Desktop\My Server SAMP\gamemodes\mysamp.pwn(301) : error 017: undefined symbol "ShowRegistration"
C:\Users\mmajk\Desktop\My Server SAMP\gamemodes\mysamp.pwn(304) : error 029: invalid expression, assumed zero
C:\Users\mmajk\Desktop\My Server SAMP\gamemodes\mysamp.pwn(304) : warning 215: expression has no effect
C:\Users\mmajk\Desktop\My Server SAMP\gamemodes\mysamp.pwn(304) : error 001: expected token: ";", but found ")"
C:\Users\mmajk\Desktop\My Server SAMP\gamemodes\mysamp.pwn(304) : error 029: invalid expression, assumed zero
C:\Users\mmajk\Desktop\My Server SAMP\gamemodes\mysamp.pwn(304) : fatal error 107: too many error messages on one line

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


5 Errors.

 

Сами строчки с 300 по 305:

 

300                    {
301                        ShowRegistration(playerid);
302                        return SCM(playerid, COLOR_RED, "[Ошибка] {FFFFFF}Вы не ввели пароль.");
303                    }
304                    if(strlen(inputtext)) < 8 || strlen(inputtext) > 3);
305                    {

Помогите пожалуйста, только недавно начал заниматься своим сервером по сампу и вот не могу найти ошибку.

Share this post


Link to post

3 answers to this question

  • 0

Гость nezoxi2, как минимум здесь у вас со скобками не все хорошо: количество открывающихся и закрывающихся отличается.

if(strlen(inputtext)) < 8 || strlen(inputtext) > 3);

 

Share this post


Link to post
  • 0

Не помогает. Может я не так понял! А где нужно поставить/убрать скобки?

Share this post


Link to post
  • 0

Гость nezoxi2, if(strlen(inputtext)) < 8 || strlen(inputtext) > 3);
выделил лишнею 

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

    • Kutuzov
      By Kutuzov
      Всем привет, хотелось бы спросить у тех, кто разбирается в PluginSDK.
      Какие есть источники, руководства, документации о PluginSDK?
      Я пока что ничего нормального не нахожу.
      Заранее спасибо