[pomoć] pickupovi & labeli

Započeo [yub] Leo_Karl, April 25, 2013, 16:45:29 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 5 gostiju pregledaju ovu temu.

Skripta koju koristim:moja od 0
Detaljan opis problema: radio sam onaj sistem dinaičan firmi i sada kada oću da namestim ono izbaca mi erore kod CreateDynamicPickup & DetoryDynamicPickup i ne znam kako da rešim
Dio skripte:ako treba daću
Neke slike/video za lakse dobivanje pomoci(neobavezno):MOLIM VAS POMOĆ

skini najnovij streamer
Software Developer

Citat: David (Sabljak) A.k.A SABO(T) poslato April 25, 2013, 16:56:52 POSLE PODNE
Pa taj errore

Evo su erori C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(217) : warning 219: local variable "fVW" shadows a variable at a preceding level
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(259) : error 017: undefined symbol "DestroyDynamicPickup"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(260) : error 017: undefined symbol "DestroyDynamicPickup"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(261) : error 017: undefined symbol "CreateDynamicPickup"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(262) : error 017: undefined symbol "CreateDynamicPickup"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(217) : warning 203: symbol is never used: "fVW"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(504) : error 017: undefined symbol "fExtra"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(504) : warning 215: expression has no effect
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(504) : error 029: invalid expression, assumed zero
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(504) : error 017: undefined symbol "extra"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(504) : fatal error 107: too many error messages on one line

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


8 Errors.

daj liniju 504 a za te dynamic erore skini streamer
Poslednja Izmena: April 25, 2013, 17:02:15 POSLE PODNE od Ivan_Ino.pwn
Software Developer

Citat: Ivan_Ino.pwn poslato April 25, 2013, 17:01:43 POSLE PODNE
daj liniju 504 a za te dynamic erore skini streamer

INI_ParseFile(str, "sacuvajbiz_%s", .fExtra = true, .extra = idx );

daj link za sterameree

INI_ParseFile(str, "sacuvajbiz_%s", .Extra = true, .extra = idx );
Software Developer

Sredio sam ono za pickupove sada imam samo ovaj eror  ???  ???  ???
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(218) : warning 219: local variable "fVW" shadows a variable at a preceding level
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(218) : warning 203: symbol is never used: "fVW"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(505) : error 017: undefined symbol "fExtra"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(505) : warning 215: expression has no effect
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(505) : error 029: invalid expression, assumed zero
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(505) : error 017: undefined symbol "extra"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(505) : 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.

Citat: Lenon poslato April 25, 2013, 17:11:14 POSLE PODNE
uradi kako ti je on rekao


Citat: Ivan_Ino.pwn poslato April 25, 2013, 17:06:12 POSLE PODNE
INI_ParseFile(str, "sacuvajbiz_%s", .Extra = true, .extra = idx );

neće ni tako ima isti eror samo umesto fextra eror je samo extra

probaj ovako

INI_ParseFile(str, "sacuvajbiz_%s", .fExtra = true, .fextra = idx );
Software Developer

Citat: Ivan_Ino.pwn poslato April 25, 2013, 17:15:09 POSLE PODNE
probaj ovako

INI_ParseFile(str, "sacuvajbiz_%s", .fExtra = true, .fextra = idx );

isti erori to vam je ovo gledajte
new str[40];
    for(new idx = 1; idx < sizeof(FirmaInformacije); idx++)
    {
        format(str, sizeof(str), FPATH, idx);
        INI_ParseFile(str, "sacuvajbiz_%s", .fExtra = true, .fextra = idx );
        FirmaInformacije[idx][fIkona] = CreateDynamicPickup(1272, 1, FirmaInformacije[idx][fUlazX], FirmaInformacije[idx][fUlazY], FirmaInformacije[idx][fUlazZ], FirmaInformacije[idx][fVW]);
        FirmaInformacije[idx][fIzvanIkone] = CreateDynamicPickup(1272, 1, FirmaInformacije[idx][fIzasaoX], FirmaInformacije[idx][fIzasaoY], FirmaInformacije[idx][fIzasaoZ], FirmaInformacije[idx][fUvw]);
    }

Citat: Lenon poslato April 25, 2013, 17:19:47 POSLE PODNE
Citat: Ivan_Ino.pwn poslato April 25, 2013, 17:15:09 POSLE PODNE
probaj ovako

INI_ParseFile(str, "sacuvajbiz_%s", .fExtra = true, .fextra = idx );


probaj ovako:

INI_ParseFile(str, "sacuvajbiz_%s, .bExtra = true, .extra = idx);

C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(223) : warning 219: local variable "fVW" shadows a variable at a preceding level
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(223) : warning 203: symbol is never used: "fVW"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(551) : error 037: invalid string (possibly non-terminated string)
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(551) : error 017: undefined symbol "sacuvajbiz_"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(551) : error 017: undefined symbol "bExtra"
C:\Users\GaRaGaN\Desktop\ProLife RolePlay v1.0\gamemodes\ProLife.pwn(551) : 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.


NEĆE BEM MU SVE ALI TO VEĆ BEXTRA KORISTIM

imas li forward i public od ovoga sacuvajbiz
Software Developer

imam
forward sacuvajbiz_data(idx, name[], value[]);
public sacuvajbiz_data(idx, name[], value[])
{
    INI_Int("fOwned", FirmaInformacije[idx][fOwned]);
    INI_Int("fCena", FirmaInformacije[idx][fCena]);
    INI_String("fVlasnik", FirmaInformacije[idx][fVlasnik], 24);
    INI_Int("fTip", FirmaInformacije[idx][fTip]);
    INI_Int("fZakljucana", FirmaInformacije[idx][fZakljucana]);
    INI_Int("fNovac", FirmaInformacije[idx][fNovac]);
    INI_Float("fUlazX", FirmaInformacije[idx][fUlazX]);
    INI_Float("fUlazY", FirmaInformacije[idx][fUlazY]);
    INI_Float("fUlazZ", FirmaInformacije[idx][fUlazZ]);
    INI_Float("fUlazA", FirmaInformacije[idx][fUlazA]);
    INI_Float("fIzasaoX", FirmaInformacije[idx][fIzasaoX]);
    INI_Float("fIzasaoY", FirmaInformacije[idx][fIzasaoY]);
    INI_Float("fIzasaoZ", FirmaInformacije[idx][fIzasaoZ]);
    INI_Float("fIzasaoA", FirmaInformacije[idx][fIzasaoA]);
    INI_Int("fInt", FirmaInformacije[idx][fInt]);
    INI_Int("fVW", FirmaInformacije[idx][fVW]);
    INI_Int("fUinterioru", FirmaInformacije[idx][fUinterioru]);
    INI_Int("fUvw", FirmaInformacije[idx][fUvw]);
    INI_String("fIme", FirmaInformacije[idx][fIme], 128);
    return 1;
}

imas li enum za firmu
Software Developer

Citat: Ivan_Ino.pwn poslato April 25, 2013, 17:32:15 POSLE PODNE
imas li enum za firmu

enum fInformacije
{
    fOwned,
    fCena,
    fVlasnik[MAX_PLAYER_NAME],
    fTip,
    fZakljucana,
    fNovac,
    Float:fUlazX,
    Float:fUlazY,
    Float:fUlazZ,
    Float:fUlazA,
    Float:fIzasaoX,
    Float:fIzasaoY,
    Float:fIzasaoZ,
    Float:fIzasaoA,
    fInt,
    fVW,
    fUinterioru,
    fUvw,
    fIkona,
    fIzvanIkone,
    fIme[128]
};
new FirmaInformacije[200][fInformacije];