[Pomoc]4 errora

Započeo Orion, Oktobar 21, 2011, 10:51:58 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:gf
Detaljan opis problema:imam 4 errora stvarno neznak kako da ih rijesim
error 017: undefined symbol "TurckLabels"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Dio skripte:Attach3DTextLabelToVehicle(TurckLabels[i], TBuylist[i][TCarid], 0,0,0.5);// to je taj red
Neke slike/video za lakse dobivanje pomoci(neobavezno):

kada to dodam onda mi izbaci ove errore
C:\Documents and Settings\Administrator\Desktop\GF\gamemodes\RLRP.pwn(15895) : error 028: invalid subscript (not an array or too many subscripts): "TurckLabels"
C:\Documents and Settings\Administrator\Desktop\GF\gamemodes\RLRP.pwn(15895) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\GF\gamemodes\RLRP.pwn(15895) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Desktop\GF\gamemodes\RLRP.pwn(15895) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\GF\gamemodes\RLRP.pwn(15895) : 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.
Poslednja Izmena: Oktobar 21, 2011, 11:54:08 PRE PODNE od Jethro_Gibbs

Attach3DTextLabelToVehicle(TurckLabels[i], TBuylist[i][TCarid], 0,0,0.5);// to je taj red

for(i=0; i<sizeof(TBuylist); i++)
{
TBuylist[i][TCarid]=CreateVehicle(TBuylist[i][TModelid],TBuylist[i][TX],TBuylist[i][TY],TBuylist[i][TZ],TBuylist[i][TRotation],3,3,5);
new string[128];
format(string, sizeof string, "{2693C9}Kamion na prodaji:{B6DAEC} %s\n{2693C9}Cijena: {B6DAEC}%i$ ", TBuylist[i][TName],TBuylist[i][TPrice]);
TruckLabels[i] = Create3DTextLabel(string,0x0984C2FF,TBuylist[i][TX],TBuylist[i][TY],TBuylist[i][TZ]-0.5,30.0,0);
Attach3DTextLabelToVehicle(TurckLabels[i], TBuylist[i][TCarid], 0,0,0.5);
SetVehicleNumberPlate(TBuylist[i][TCarid], "{FF0000}Prodaje se");
}

dragan12

@BURN_HIMSELFâ,,¢
Nmz tako definisati Attach3DTextLabelToVehicle(TurckLabels, TBuylist[TCarid], 0,0,0.5);// to je taj red
new Text3D:TurckLabels[Ovde nesto];//To je primer
new TBuylist... nadji to i ono sto je u prvoj [] to stavi i tamo umeto Ovde nesto
Posto vidim da je ista stvar samo sto vidim da je nesto za kola pa stavis kao i tamo sto je.
Poslednja Izmena: Oktobar 21, 2011, 13:18:25 POSLE PODNE od [BD]Gagi

jao vidim di sam pogrijesio krivo sam napiso stavio sam turck umjesto truck xD

moze lock
Poslednja Izmena: Oktobar 21, 2011, 14:08:31 POSLE PODNE od Jethro_Gibbs