Ph0eniX Posted April 12, 2014 Report Share Posted April 12, 2014 La cererea lui Zut am creeat un "script" ) bine...functie nu script in fineNume: Zut Nume FS: RandomAnnounces Descriere: Un fs care da un announce din 15 in 15 minute...as vrea sa un gen ca asta http://i.imgur.com/FGg2wBv.jpg Poze(optional):http://i.imgur.com/FGg2wBv.jpg 1. Adauga la OnGameModeInit / OnFilterScriptInit SetTimer("Announce",150000,true); 2. Creezi 1 public. forward Announce(); public Announce() { new ann = random(3); switch (ann) { case 0: GameTextForAll(" Site-ul nostru este.... ",3000,3); case 1: GameTextForAll(" IP-up nostru este.... ",3000,3); case 2: GameTextForAll(" Numele sv-ului este... ",3000,3); } } Quote Link to comment Share on other sites More sharing options...
RORPG. Posted April 12, 2014 Report Share Posted April 12, 2014 Destul de bun pentru incepatori Quote Fara reclama in semnatura! Link to comment Share on other sites More sharing options...
s1N3d_28 Posted April 15, 2014 Report Share Posted April 15, 2014 Imi da eroarea asta cand vreau sa il compilez in game mode D:\Games\Samp Server\gamemodes\RGS.pwn(2958) : error 001: expected token: "-identifier-", but found "forward"D:\Games\Samp Server\gamemodes\RGS.pwn(2959) : warning 235: public function lacks forward declaration (symbol "Announce")Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error.[pawn][/pawn]Ma poti ajuta ? Mersi anticipat ! Quote Daca ma inrolati in razboi ma declar inapt caci nu vreau sa fiu erou intr-o tara te ca*at . Link to comment Share on other sites More sharing options...
Ph0eniX Posted April 15, 2014 Author Report Share Posted April 15, 2014 Imi da eroarea asta cand vreau sa il compilez in game mode D:\Games\Samp Server\gamemodes\RGS.pwn(2958) : error 001: expected token: "-identifier-", but found "forward"D:\Games\Samp Server\gamemodes\RGS.pwn(2959) : warning 235: public function lacks forward declaration (symbol "Announce")Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error.[pawn][/pawn]Ma poti ajuta ? Mersi anticipat !Nu ai copiat corect forwardu' uite aici...forward Announce();ai uitat tu " ; " dupa forward Announce() sigur.. in + ... forwardu adaugal dupa include , news sau enums... oricum peacolo pe sus ) Quote Link to comment Share on other sites More sharing options...
s1N3d_28 Posted April 15, 2014 Report Share Posted April 15, 2014 Am pus chiar la sfarsitul gm-ului: [pawn]public Announce(){new ann = random(3);switch (ann){case 0: GameTextForAll(" Ne puteti contacta pe skype sau Y!M : syned_97 ",3000,3);case 1: GameTextForAll(" IP-up nostru este 94.52.118.29 ",3000,3);case 2: GameTextForAll(" Numele sv-ului este Romania Stung Gaming ",3000,3);}//------------------------------------------------------------------------------//RO//Sfarsit//RO//Va Rog Nu Stergeti Creditele//EN//End//EN//Please Do Not Remove Credits//----------------------------THE END-------------------------------------------[/pawn]Si imi da eroarea asta : D:\Games\Samp Server\gamemodes\RGS.pwn(3080) : error 030: compound statement not closed at the end of file (started at line 3067)Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error. Quote Daca ma inrolati in razboi ma declar inapt caci nu vreau sa fiu erou intr-o tara te ca*at . Link to comment Share on other sites More sharing options...
Punct. Posted April 16, 2014 Report Share Posted April 16, 2014 Am pus chiar la sfarsitul gm-ului: [pawn]public Announce(){new ann = random(3);switch (ann){case 0: GameTextForAll(" Ne puteti contacta pe skype sau Y!M : syned_97 ",3000,3);case 1: GameTextForAll(" IP-up nostru este 94.52.118.29 ",3000,3);case 2: GameTextForAll(" Numele sv-ului este Romania Stung Gaming ",3000,3);}//------------------------------------------------------------------------------//RO//Sfarsit//RO//Va Rog Nu Stergeti Creditele//EN//End//EN//Please Do Not Remove Credits//----------------------------THE END-------------------------------------------[/pawn]Si imi da eroarea asta : D:\Games\Samp Server\gamemodes\RGS.pwn(3080) : error 030: compound statement not closed at the end of file (started at line 3067)Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase1 Error.Mai inchide o acolada ( } ) Quote Nu mai deschideti in pu*a mea servere de SA:MP ! Jucati-va pe cele care sunt ! Sunt suficiente ! Reguli de bun simt: 1. Nu faceti reclama unde nu trebuie ! 2. Nu injurati ca la usa cortului ! 3. Daca esti analfabeti, taci din gura ! 4. Nu abuza de 'scuze', 'din greseala' ! My work ::: http://pastebin.com/VRNRcaAs Link to comment Share on other sites More sharing options...
s1N3d_28 Posted April 16, 2014 Report Share Posted April 16, 2014 Mai inchide o acolada ( } )Am pus acolada cum ai zis si acum imi da o eroare la pawn (PAWN COMPILER LIBRARY HAS STOPPED WORKING) Si am incercat sa put inapoi cum era fara a doua acolada si tot imi da eroare pawno-ul.. : :-( Quote Daca ma inrolati in razboi ma declar inapt caci nu vreau sa fiu erou intr-o tara te ca*at . Link to comment Share on other sites More sharing options...
Zut Posted April 16, 2014 Report Share Posted April 16, 2014 Aia e poza mea =))Mersi :) Quote Link to comment Share on other sites More sharing options...
Ph0eniX Posted April 16, 2014 Author Report Share Posted April 16, 2014 ai uitat undeva o acolada { sau } , din cauza asta iei prea multe errori si iti da erroare la pawno , Zut ce poza zici ? Quote Link to comment Share on other sites More sharing options...
Vlady Posted April 17, 2014 Report Share Posted April 17, 2014 Folositor script-ul. Quote Link to comment Share on other sites More sharing options...
AdyUzzy1 Posted April 17, 2014 Report Share Posted April 17, 2014 Folositor , bravo! Quote Fara reclama in semnatura! Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.