Skripta koju koristim: moje
Detaljan opis problema:ja uradim sve ubacim tu skriptu i izbaci mi ove erore ccc
Dio skripte:/
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(16360) : error 017: undefined symbol "ad"
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(16360) : warning 215: expression has no effect
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(16372) : error 017: undefined symbol "ad"
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(16373) : error 017: undefined symbol "ad"
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(16374) : error 017: undefined symbol "ad"
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(16375) : error 017: undefined symbol "ad"
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(16376) : error 017: undefined symbol "ad"
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(16377) : error 017: undefined symbol "ad"
C:\Documents and Settings\kk\Desktop\SARAJEVO ROLEPLAYYYYYYYYYYYYYYY extrax8YYYY\gamemodes\sarajevo.pwn(1637😎 : error 017: undefined symbol "ad"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
POMOC poruke u chatu..
512
pregleda
6
postova
14. Jan. 2012.
po ovom tutorialu sam uradio
Kod: (c)
forward Advertisements2();
forward Advertisements();
Onda pod new-ove :
Kod: (c)
new adtimer;
Onda ovo pod ostale publice :
Kod:
public Advertisements()
{
new dice = random(7)+1;
ad = dice;
Advertisements2();
return 1;
}
public Advertisements2()
{
new string;
new ftext;
if(ad == 1) { ftext = "Poruka"; }
else if(ad == 2) { ftext = "Poruka"; }
else if(ad == 3) { ftext = "Poruka"; }
else if(ad == 4) { ftext = "Poruka"; }
else if(ad == 5) { ftext = "Poruka"; }
else if(ad == 6) { ftext = "Poruka"; }
else if(ad == 7) { ftext = "Poruka"; }
format(string, sizeof(string), "%s", ftext);
SendClientMessageToAll(0xFF800096, string);
return 1;
}
pod public GameModeExitFunc ovo :
Kod: (c)
KillTimer(adtimer);
I pod public OnGameModeInit :
Kod: (c)
adtimer = SetTimer("Advertisements", 300000, 1);
Kod: (c)
forward Advertisements2();
forward Advertisements();
Onda pod new-ove :
Kod: (c)
new adtimer;
Onda ovo pod ostale publice :
Kod:
public Advertisements()
{
new dice = random(7)+1;
ad = dice;
Advertisements2();
return 1;
}
public Advertisements2()
{
new string;
new ftext;
if(ad == 1) { ftext = "Poruka"; }
else if(ad == 2) { ftext = "Poruka"; }
else if(ad == 3) { ftext = "Poruka"; }
else if(ad == 4) { ftext = "Poruka"; }
else if(ad == 5) { ftext = "Poruka"; }
else if(ad == 6) { ftext = "Poruka"; }
else if(ad == 7) { ftext = "Poruka"; }
format(string, sizeof(string), "%s", ftext);
SendClientMessageToAll(0xFF800096, string);
return 1;
}
pod public GameModeExitFunc ovo :
Kod: (c)
KillTimer(adtimer);
I pod public OnGameModeInit :
Kod: (c)
adtimer = SetTimer("Advertisements", 300000, 1);
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava