Eror

Započeo Bilsen_Jahjagic, Mart 09, 2013, 10:16:28 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Bilsen_Jahjagic

Skripta koju koristim: FS:RP
Detaljan opis problema: Izbacuje sledece erore C:\Users\Seven\Desktop\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(7459) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(7462) : error 033: array must be indexed (variable "pSvercTEC")

Dio skripte:    if(IsAGangCar2(vehicleid))
{
    7459:  if(PlayerInfo[playerid][pSvercTEC] == 1)
       {
         DisablePlayerCheckpoint(playerid);
7462: PlayerInfo[playerid][pSvercTEC] = 0;
         SCM(playerid,COLOR_WHITE,"[INFO] {F81414}Izasli ste iz kombajna u toku zetve!Zetva je prekinuta.");
        }

Neke slike/video za lakse dobivanje pomoci(neobavezno)://

Da li imas definirano pSvercTEC u PlayerInfo enumu?

Last nick: Paradox

Bilsen_Jahjagic


Onda definiraj.

Last nick: Paradox

Bilsen_Jahjagic


Recimo ako ti ovak' izgleda enum:
enum pInfo
{
    // Tu su neke stvari prije..
    pSvercTEC // Tu dodas to svoje i ak' si stavio to na kraj enuma onda moras prije njega stavit zarez na stavku prije nje
}

Last nick: Paradox

Bilsen_Jahjagic

Rijesio sam to i opet nece

Da vidim kako si to napravio i postaj error.

Last nick: Paradox

Bilsen_Jahjagic

kod enum pinfo sam dodao pSvercTEC,
Ima dosta erora i warninga
Brate mogu li da ti posaljem .pwn file PM da mi to sredis jer stvarno nzm sta da radim
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(200) : error 021: symbol already defined: "pSvercTEC"
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(1863) : error 021: symbol already defined: "pSvercTEC"
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(3337) : warning 209: function "IsAtBar" should return a value
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(3475) : warning 235: public function lacks forward declaration (symbol "IsAGangCar2")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(4900) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(5603) : error 035: argument type mismatch (argument 2)
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(7459) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(7462) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14521) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14522) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14523) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14524) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14525) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14526) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14527) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14528) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14529) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14530) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14531) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14532) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14533) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14534) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14958) : warning 213: tag mismatch
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14958) : warning 202: number of arguments does not match definition
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(17674) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(17685) : warning 209: function "cmd_pocnizetvu" should return a value
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(17686) : error 010: invalid function or declaration
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(17687) : error 010: invalid function or declaration
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(23363) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(23368) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(33613) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(44476) : error 033: array must be indexed (variable "pSvercTEC")
C:\Users\Seven\Desktop\m\test\FS 0.3x by Claude\gamemodes\south-europe.pwn(14347) : warning 204: symbol is assigned a value that is never used: "fbirampa"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


13 Errors.

Ajd posalji..

Last nick: Paradox

Bilsen_Jahjagic


Rijesen problem, lock.

Last nick: Paradox