Wysłany: 2012-09-15, 21:18
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Wiatjcie mam takie errory:
Kod: C:\Documents and Settings\DOM\Pulpit\Pas.pwn(24) : error 028: invalid subscript (not an array or too many subscripts): "Sprite0"
C:\Documents and Settings\DOM\Pulpit\Pas.pwn(24) : error 017: undefined symbol "i"
C:\Documents and Settings\DOM\Pulpit\Pas.pwn(24) : error 029: invalid expression, assumed zero
C:\Documents and Settings\DOM\Pulpit\Pas.pwn(24) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Tylko wtedy gdy mam [i]
Kod:
public OnFilterScriptInit()
{
for(new g; g != GetMaxPlayers(); g++)
{
Sprite0[i] = TextDrawCreate(148.000, 482.500, "LD_POOL:ball");
TextDrawFont(Sprite0[i], 4);
TextDrawTextSize(Sprite0[i], 466.000, -60.500);
TextDrawColor(Sprite0[i], -1);
return 1;
}
Piwa
Wysłany: 2012-09-15, 21:23
B!4CK
Never give UP!
Wiek: 32 Na forum: 5809 dni Posty: 1047
Nick w MP: John
Piwa : 1891
Edit :
Wygasi?.
Podpis
Cześć
[you]
!
Projekt, który poruszy scenę platformy SA:MP!
Ostatnio zmieniony przez B!4CK 2012-09-15, 21:25, w całości zmieniany 1 raz
Wysłany: 2012-09-15, 21:24
Adikson
SA:MP SUCKS!!
Wiek: 32 Na forum: 6587 dni Posty: 149
Nick w MP: Adikson
Piwa : 443
Definiujesz zmienn? przy p?tli g a za p?tl? u?ywasz i..
Podpis
Have a nice day! ||
Wysłany: 2012-09-15, 22:19
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Ale nawet gdy mam g czy i to jest to samo
Wysłany: 2012-09-16, 09:58
ToxiC.
Wiek: 28 Na forum: 5246 dni Posty: 3792
Piwa : 8590
Pawn
public OnFilterScriptInit ()
{
for(new i = 0 ; i < GetMaxPlayers (); i ++)
{
Sprite0 [ i ] = TextDrawCreate ( 148.000 , 482.500 , "LD_POOL:ball" );
TextDrawFont ( Sprite0 [ i ], 4 );
TextDrawTextSize ( Sprite0 [ i ], 466.000 , - 60.500 );
TextDrawColor ( Sprite0 [ i ], - 1 );
}
return 1 ;
}
Wysłany: 2012-09-16, 10:44
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Wyt?umaczy?by? mi czemu jest :
Pawn
Te liczby s? ? 1,2,3 itd
Wysłany: 2012-09-16, 10:50
ToxiC.
Wiek: 28 Na forum: 5246 dni Posty: 3792
Piwa : 8590
Sorry,
Pawn
public OnFilterScriptInit ()
{
for(new i = 0 ; i < GetMaxPlayers (); i ++)
{
Sprite0 [ i ] = TextDrawCreate ( 148.000 , 482.500 , "LD_POOL:ball" );
TextDrawFont ( Sprite0 [ i ], 4 );
TextDrawTextSize ( Sprite0 [ i ], 466.000 , - 60.500 );
TextDrawColor ( Sprite0 [ i ], - 1 );
}
return 1 ;
}
Spr?buj tak. Bez tych liczb O_o
Tagi: pętla
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: