[POMOC] Moze neko da mi sredi ovo


Započeo Vitez El arambasa, Oktobar 02, 2012, 19:21:38 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:MW RP
Detaljan opis problema: moze neko da mi sredi ovu FS baca mi erore dole ce biti erori
Dio skripte: dole ce biti
Neke slike/video za lakse dobivanje pomoci(neobavezno):


fs :
public Advertisements2()
{
	new ad;
	new string[255];
    new donatetext[255];
    else if(ad == 1) { donatetext = "<DONATE> Kupovina VIP,level up,money up,i ostalih donatorskih rankova,vise na stranici DONATE na sajtu tdi-gaming.com."
    else if(ad == 2) { donatetext = "OPSTINA> Upisite /help da bi videli sve komande."
    else if(ad == 3) { donatetext = "SERVER> MOTO SERVERA:> Ko rakiju pije,taj bolestan nije <> Zivot ce ti biti cvece ako gledas u banderu srece < :D"
    else if(ad == 4) { donatetext = "<DONATE> Napravite vasu privatnu organizaciju,vise informacija na stranici DONATE"
    else if(ad == 5) { donatetext = "SAMP PORTAL> Registrujte se na server uklonjen! forumu: tdi-gaming.com/forum"
    else if(ad == 6) { donatetext = "<DONATE> Narucite VIP paket na vise meseci i osvojite bonus od 500k"
    else if(ad == 7) { donatetext = "INFO> Pricajte sa gradjanima Jugoslavije uzivo preko teamspeak-a (/teamspeak)"
    else if(ad == 8) { donatetext = "<DONATE> Narucite VIP level(vec od 200RSD|14KN|2.8KM|) posetite stranicu DONATE na nasem sajtu!"
    else if(ad == 9) { donatetext = "OPSTINA> Sve informacije i odgovore na dosadasnja pitanja imate na tdi-gaming.com/forum."
    else if(ad == 10) {donatetext = "Crkva - budite posteni,jer se postenje postenjem vraca."
    else if(ad == 11) {donatetext = "<DONATE> Narucite lvlup paket,posetite stranicu DONATE na nasem sajtu tdi-gaming.com."
	else if(ad == 12) {donatetext = "GAME HOSTING SRBIJA> Najbolji domaci server hosting - gamehosting.rs."
	else if(ad == 13) {donatetext = "OPSTINA> Ako ne znate gde je sta napisite /gps /bgps ili napisite /service."
	else if(ad == 14) {donatetext = "OPSTINA> >>>> Igrajte LOTTO <<<< /lotto [broj] <><> izvlacenje je uz svaku platu."
	else if(ad == 15) {donatetext = "INFO: Pozovite prijatelje,pokazite im igricu,igrajte zajedno sa njima i ostvarite veci respekt."
	else if(ad == 16) {donatetext = "OSCS> Da li vam se svidja ovaj server? || Pomozite nam da server postane bolji,pozovite vase prijatelje i recite im da dodju ;)."
	else if(ad == 17) {donatetext = "<DONATE> Donirajte i pomozite nam da odrzimo ovaj server u zivotu,vise na stranici DONATE na nasem sajtu."
	else if(ad == 18) {donatetext = "<DONATE> Narucite novcani paket za povecanje para na serveru,posetite stranicu DONATE na sajte tdi-gaming.com."
	else if(ad == 19) {donatetext = "MARKETING> gamehosting.rs"
   	format(string, sizeof(string), "%s", donatetext);
	SendClientMessageToAll(0x02FA23AA, string);

	return 1;
}
public TutorijalPoruke()
{
for(new i = 0; i < MAX_PLAYERS; ++ i)
{
  if(PlayerInfo[i][pLevel] <= 3)
  {

	new string1[255];
    new ftext[255];
    if(ad == 1) { ftext = "[ TUTORIJAL ] Drzava je Jugoslavija i vecinom je odradjena sa svim elementima realnog zivota."
    else if(tutorijal == 2) { ftext = "[ TUTORIJAL ] Ako ne znate neka mesta ne zovite OSC-a ,vec koristite /gps"
    else if(tutorijal == 3) { ftext = "[ TUTORIJAL ] Skin mozete promeniti samo sa levelom 2."
    else if(tutorijal == 4) { ftext = "[ TUTORIJAL ] Dobrodosli na server uklonjen! server uklonjen! server! Tutorijal vam pomaze u igri do levela 3."
    else if(tutorijal == 5) { ftext = "[ TUTORIJAL ] Da biste videli listu poslova, ukucajte /poslovi"
    else if(tutorijal == 6) { ftext = "[ TUTORIJAL ] Da bi vas lik u igrici radio animacije ukucajte /anims"
    else if(tutorijal == 7) { ftext = "[ TUTORIJAL ] Uz svaku platu dobijate respect poene, odredjeni broj respect poena vam daje level up /levelup";
    else if(tutorijal == 8) { ftext = "[ TUTORIJAL ] Da bi pozvali nekog ukucajte /call  /sms."
    else if(tutorijal == 9) { ftext = "[ TUTORIJAL ] Ako imate pitanje /askq, ili ako ste novi /new"
    else if(tutorijal == 10) { ftext = "[ TUTORIJAL ] Dobro naucite pravila /pravila /zakon /saobracaj /sp, da ne bi bili u zatvoru zbog nepostovanja pravila"
    else if(tutorijal == 11) { ftext = "[ TUTORIJAL ] Idite u Opstinu i zaposlite se"
    else if(tutorijal == 12) { ftext = "[ TUTORIJAL ] Helperi su uvek tu da vam pomognu /askq /new"
    else if(tutorijal == 13) { ftext = "[ TUTORIJAL ] Mozete da kupite kucu /househelp"
   	format(string1, sizeof(string1), "%s", ftext);
	SendClientMessage(i, 0x00E6E0FF, string1);
	}
}

	return 1;
}
[code]
Evo i new-ovi
[code]
new ad = 0;
new tutorijal = 0;
new adtimer;
[code]
forwardi
[code]
forward Advertisements2();
forward TutorijalPoruke();
[code]
evo i tajmeri
[code]
SetTimer("Advertisements2", 180000, 1);
SetTimer("TutorijalPoruke", 120000,1);


erori :
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(62) : warning 235: public function lacks forward declaration (symbol "Advertisements2")
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(5) : warning 217: loose indentation
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(6) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(6) : warning 215: expression has no effect
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(6) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : error 001: expected token: ";", but found "else"
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : warning 217: loose indentation
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : warning 215: expression has no effect
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.
Poslednja Izmena: Oktobar 02, 2012, 19:22:02 POSLE PODNE od arambasa

Daj linije 6 i 7...
Skriptam za novac ! Javite mi se preko privatne poruke !
[/B]

evo
linija 6
else if(ad == 1) { donatetext = "<DONATE> Kupovina VIP,level up,money up,i ostalih donatorskih rankova,vise na stranici DONATE na sajtu tdi-gaming.com."


   
linija 7 
else if(ad == 2) { donatetext = "OPSTINA> Upisite /help da bi videli sve komande."

Citat: Wucha poslato Oktobar 02, 2012, 19:42:10 POSLE PODNE
Dupla Tema! Pogledajte Moderatori

Jel si ti bolestan ?? vidis da sam mu poslao linije ...

Vegas.

Linija 6 ide ovako.
if(ad == 1) { donatetext = "<DONATE> Kupovina VIP,level up,money up,i ostalih donatorskih rankova,vise na stranici DONATE na sajtu tdi-gaming.com."

ok liniju 6 sam sredio uz tvoju pomoc a sad ove ostale liniju 7

erori
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(62) : warning 235: public function lacks forward declaration (symbol "Advertisements2")
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(5) : warning 217: loose indentation
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : error 001: expected token: ";", but found "else"
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : warning 217: loose indentation
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : warning 215: expression has no effect
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\Bogdan\My Documents\Downloads\MW v1.0.0\filterscripts\poruke.pwn(7) : 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.


linija 7 :
else if(ad == 2) { donatetext = "OPSTINA> Upisite /help da bi videli sve komande."

Vegas.

Ovako moraju biti linije.
else if(ad == 2) { donatetext = "OPSTINA> Upisite /help da bi videli sve komande."; }

Vegase fs mi napravi keve ti kolji me ako te nesto razumem ubacim to na kraju svakog i baca mi erore i warninge :) ti si expert za to aj napravi pls :)