Pomoc netko

Započeo Ivo_Bosnjak, Novembar 20, 2021, 22:28:51 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

[pawn][/pawn]Problem(error/warning):Iskacu mi errori
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(935) : error 028: invalid subscript (not an array or too many subscripts): "pClan"
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(935) : warning 215: expression has no effect
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(935) : error 001: expected token: ";", but found "]"
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(935) : error 029: invalid expression, assumed zero
C:\Users\Windows 10\Desktop\Korea RolePlay\gamemodes\main.pwn(935) : fatal error 107: too many error messages on one line
Deo skripte:
Pawno Code: [Izaberi]
forward ZauzimanjeVreme(playerid);
public ZauzimanjeVreme(playerid) {

    new i = Zauzima[ playerid ], str[ 70 ];
    GangZoneHideForAll(OrgInfo[ i ][ zID ]);
    GangZoneShowForAll(OrgInfo[ i ][ zID ], OrgInfo[ i ][ zBoja ]);
    format(str, sizeof(str), "[ %s ]\n{FFFFFF}Da zauzmete, kucajte /zauzmi", OrgInfo[ pClan[ playerid ] ][ orgIme ]);
    Update3DTextLabelText(ZauzimanjeLabel[ i ], OrgInfo[ i ][ orgBoja ], str);
    GivePlayerMoney(playerid, 50000);
    ClearAnimations(playerid);
    TogglePlayerControllable(playerid, true);
    SCM(playerid, -1, "Uspesno ste zauzeli zonu.");
    return 1;
}
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
//