Fala kurcu ako neko ovo resi

Započeo Nobody.aMx, Novembar 11, 2017, 15:11:01 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: FILTER OD 0
Detaljan opis problema: neam pojma nane mi:
[pawn]\Reakcije.pwn(69) : error 079: inconsistent return types (array & non-array)
\Reakcije.pwn(81) : warning 217: loose indentation
\Reakcije.pwn(81) : error 079: inconsistent return types (array & non-array)
\Reakcije.pwn(83) : warning 217: loose indentation
\Reakcije.pwn(83) : error 017: undefined symbol "@yC_kreirajvote"
\Reakcije.pwn(83) : error 017: undefined symbol "@yC_kreirajvote"
\Reakcije.pwn(83) : error 017: undefined symbol "i"
\Reakcije.pwn(83) : fatal error 107: too many error messages on one line[/pawn]
Dio skripte:
OD 65 do 83
[pawn]public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   if(dialogid == DIALOG_KREIRAJ_VOTE)
   {
      if(!response) return SCM(playerid, -1, ""CRVENA"[VOTE] "BELA"Odustali ste od kreiranja vote-a!"); // 69
      if(response)
      {
          new pitanje;
          pitanje = strval(inputtext);

          if(pitanje < 5 || pitanje > 44)
          {
              GProvera = 1;
              SetTimer("GlasanjeResult", 120000, false);
          }
      } 
   return 1; //Error i ovde
}   
YCMD:kreirajvote(playerid, params[], help) // 83[/pawn]
Neke slike/video za lakse dobivanje pomoci(neobavezno):
Pocetak skritpe:
[pawn]//-=============================================== INCLUDES
#include <a_samp>
#include <sscanf2>
#include <YSI\y_commands>
//-=============================================== DEFINES
#undef MAX_PLAYERS
#define MAX_PLAYERS 150
//-=============================================== NEWS
new GProvera;
new Glasanje;
new Glasao[MAX_PLAYERS];
new GLASOVI[2];
//-=============================================== DIALOZI
#define DIALOG_KREIRAJ_VOTE                     1
#define DIALOG_KREIRAJ_START                     2
#define DIALOG_KREIRAJ STOP                     3
//-=============================================== SKRACENICE ( VECINA SKRACENICA SE NECE KORISTITI )
#define SPD                                          ShowPlayerDialog
#define SCM                                       SendClientMessage
#define SCMA                                       SendClientMessageToAll
#define DSM                                       DIALOG_STYLE_MSGBOX
#define DSI                                          DIALOG_STYLE_INPUT
#define DSL                                          DIALOG_STYLE_LIST
#define DSP                                          DIALOG_STYLE_PASSWORD
#define DST                                          DIALOG_STYLE_TABLIST
#define DSTN                                       DIALOG_STYLE_TABLIST_HEADERS
//-=============================================== BOJE
#define BELA                                       "{FFFFFF}"
#define CRVENA                                    "{FF0000}"
#define NARANDZASTA                              "{FFDB00}"[/pawn]


fali ti bracket 1 ovdje, compile pa pošalji ostale errore ako ih bude
[pawn]public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
   if(dialogid == DIALOG_KREIRAJ_VOTE)
   {
      if(!response) return SCM(playerid, -1, ""CRVENA"[VOTE] "BELA"Odustali ste od kreiranja vote-a!"); // 69
      if(response)
      {
          new pitanje;
          pitanje = strval(inputtext);

          if(pitanje < 5 || pitanje > 44)
          {
              GProvera = 1;
              SetTimer("GlasanjeResult", 120000, false);
          }
      } 
        }
   return 1; //Error i ovde
}[/pawn]

[pawn]C:\Users\iwanmf\Desktop\SAMP\pawno\include\YSI\..\YSI_Visual\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(277) : error 079: inconsistent return types (array & non-array)
C:\Users\iwanmf\Desktop\SAMP\pawno\include\YSI\..\YSI_Visual\..\YSI_Internal\..\YSI_Server\y_scriptinit.inc(277) : error 079: inconsistent return types (array & non-array)
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(63) : error 079: inconsistent return types (array & non-array)
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(64) : warning 225: unreachable code
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(64) : warning 217: loose indentation
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(64) : error 029: invalid expression, assumed zero
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(64) : error 004: function "OnDialogResponse" is not implemented
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(66) : error 017: undefined symbol "dialogid"
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(68) : error 017: undefined symbol "response"
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(68) : error 017: undefined symbol "playerid"
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(68) : error 079: inconsistent return types (array & non-array)
C:\Users\iwanmf\Desktop\SAMP\filterscripts\Reakcije.pwn(68) : fatal error 107: too many error messages on one line[/pawn]