Help with errors fast please
#4

I still dont get what you mean with string..

pawn Код:
C:\Documents and Settings\Admin\Desktop\freeroamEN.pwn(27575) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Desktop\freeroamEN.pwn(27575) : error 017: undefined symbol "string"
C:\Documents and Settings\Admin\Desktop\freeroamEN.pwn(27575) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Admin\Desktop\freeroamEN.pwn(27575) : fatal error 107: too many error messages on one line

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


4 Errors.



--

Lines:

    if(dialogid==DIALOGCOSTOGARA)
      {
      if(!strlen(inputtext) || !IsNumeric(inputtext) || strval(inputtext)<=0) return ShowPlayerDialog(playerid,DIALOGCOSTOGARA,DIALOG_STYLE_INPUT,"Race's Coste","{FFFFFF}Pon el coste de la carrera (min 1):","Continuar","");
      format(stringa,sizeof(stringa),"Races/Race%d.txt",Giocatore[playerid][GaraEditorId]);
      new File:nomegara=fopen(stringa, io_append);
      GetPlayerName(playerid,nome,sizeof(nome));
      format(stringa,sizeof(stringa),"%d,1000,Nobody,%s",strval(inputtext),nome);
      fwrite(nomegara,stringa);
      fclose(nomegara);
      ShowPlayerDialog(playerid,DIALOGINSEGUIMENTO,DIALOG_STYLE_INPUT,"Chase opción","{FFFFFF}¿Quieres que la carrera sea tipo persecución?\n(Tipea Si o No)","Continuar","");
      return 1;
      }
     IsNumeric(const string[])
{
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        if (string[i] > '9' || string[i] < '0') return 0;
    }
    }
Reply


Messages In This Thread
Help with errors fast please - by VIP475 - 26.08.2012, 18:29
Re: Help with errors fast please - by TaLhA XIV - 26.08.2012, 18:31
Re: Help with errors fast please - by Dan. - 26.08.2012, 18:31
Re: Help with errors fast please - by VIP475 - 26.08.2012, 18:48
Re: Help with errors fast please - by Dan. - 26.08.2012, 18:53
Re: Help with errors fast please - by TaLhA XIV - 26.08.2012, 18:59
Re: Help with errors fast please - by Roko_foko - 26.08.2012, 19:04
Re: Help with errors fast please - by VIP475 - 26.08.2012, 19:07
Re: Help with errors fast please - by Dan. - 26.08.2012, 19:10
Re: Help with errors fast please - by VIP475 - 26.08.2012, 19:36

Forum Jump:


Users browsing this thread: 3 Guest(s)