Pomoc oko errora

Započeo SachezOriginal, Oktobar 29, 2017, 16:04:59 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim:San Axe
Detaljan opis problema:Pa ubacim zone i izadje mi errori ako moze pomoc.
Dio skripte:
C:\Users\uros2\Desktop\BSRP.pwn(3084) : error 029: invalid expression, assumed zero
C:\Users\uros2\Desktop\BSRP.pwn(3084) : error 001: expected token: ";", but found "if"
C:\Users\uros2\Desktop\BSRP.pwn(3084) : error 036: empty statement
C:\Users\uros2\Desktop\BSRP.pwn(3084) : fatal error 107: too many error messages on one line
Evo kodovi:
else if((zona) == 1) { status = "The Vinci Family"; };

Citat: EnergySa poslato Oktobar 29, 2017, 16:04:59 POSLE PODNE
Skripta koju koristim:San Axe
Detaljan opis problema:Pa ubacim zone i izadje mi errori ako moze pomoc.
Dio skripte:
C:\Users\uros2\Desktop\BSRP.pwn(3084) : error 029: invalid expression, assumed zero
C:\Users\uros2\Desktop\BSRP.pwn(3084) : error 001: expected token: ";", but found "if"
C:\Users\uros2\Desktop\BSRP.pwn(3084) : error 036: empty statement
C:\Users\uros2\Desktop\BSRP.pwn(3084) : fatal error 107: too many error messages on one line
Evo kodovi:
else if((zona) == 1) { status = "The Vinci Family"; };

[pawn]else if(zona == 1) { status = "The Vinci Family"; }[/pawn]

[pawn]else if((zona) == 1) { status = "The Vinci Family"};[/pawn]
Big Respect to: Captain Foux, Muma420, Hrustanovic & Basovski


Opet isti error
Poslednja Izmena: Oktobar 29, 2017, 16:17:00 POSLE PODNE od EnergySa

[pawn]else if(zona == 1) status = "The Vinci Family";[/pawn]

Citat: Tᴇʀᴢɪá´,, Sá´,,ʀɪᴘᴛ poslato Oktobar 29, 2017, 16:19:03 POSLE PODNE
[pawn]else if(zona == 1) status = "The Vinci Family";[/pawn]

[pawn][/pawn](3084) : error 001: expected token: ";", but found "if" opet isto

Citat: EnergySa poslato Oktobar 29, 2017, 16:20:46 POSLE PODNE
Citat: Tᴇʀᴢɪá´,, Sá´,,ʀɪᴘᴛ poslato Oktobar 29, 2017, 16:19:03 POSLE PODNE
[pawn]else if(zona == 1) status = "The Vinci Family";[/pawn]

[pawn][/pawn](3084) : error 001: expected token: ";", but found "if" opet isto
[pawn]if(zona == 1) status = "The Vinci Family";[/pawn]
Aj probaj ovako

Citat: Tᴇʀᴢɪá´,, Sá´,,ʀɪᴘᴛ poslato Oktobar 29, 2017, 16:21:38 POSLE PODNE
Citat: EnergySa poslato Oktobar 29, 2017, 16:20:46 POSLE PODNE
Citat: Tᴇʀᴢɪá´,, Sá´,,ʀɪᴘᴛ poslato Oktobar 29, 2017, 16:19:03 POSLE PODNE
[pawn]else if(zona == 1) status = "The Vinci Family";[/pawn]

[pawn][/pawn](3084) : error 001: expected token: ";", but found "if" opet isto
[pawn]if(zona == 1) status = "The Vinci Family";[/pawn]
Aj probaj ovako
To sam resio hvala a sad mi se pojavio novi:(3095) : error 017: undefined symbol "gPickupx"

Nisi ti taj sistem onda nista lepo ubacio

Evo jos dva errora ako moze pomoc:
[pawn][/pawn]C:\Users\uros2\Desktop\BSRP.pwn(3094) : error 001: expected token: ",", but found ";"
C:\Users\uros2\Desktop\BSRP.pwn(3095) : error 001: expected token: ",", but found ";"
C:\Users\uros2\Desktop\BSRP.pwn(3095) : error 029: invalid expression, assumed zero
C:\Users\uros2\Desktop\BSRP.pwn(3095) : error 001: expected token: ";", but found "]"
C:\Users\uros2\Desktop\BSRP.pwn(3095) : fatal error 107: too many error messages on one line

Onda sisitem nisi ni ubacio kako treba
Big Respect to: Captain Foux, Muma420, Hrustanovic & Basovski


Citat: Slade poslato Oktobar 29, 2017, 16:09:36 POSLE PODNE
[pawn]else if(zona == 1) { status = "The Vinci Family"; }[/pawn]

Zasto ne pokusas moje ?

Citat: Slade poslato Oktobar 29, 2017, 18:19:23 POSLE PODNE
Citat: Slade poslato Oktobar 29, 2017, 16:09:36 POSLE PODNE
[pawn]else if(zona == 1) { status = "The Vinci Family"; }[/pawn]

Zasto ne pokusas moje ?

@Slade preskoci ono sto treba haha

Citat: Slade poslato Oktobar 29, 2017, 18:19:23 POSLE PODNE
Citat: Slade poslato Oktobar 29, 2017, 16:09:36 POSLE PODNE
[pawn]else if(zona == 1) { status = "The Vinci Family"; }[/pawn]

Zasto ne pokusas moje ?

Ne moze lik ako mu je nešto prvo u nizu sa ifom da stavlja else jer normalno nema logike i nece raditi