SA-MP Forums Archive
Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help (/showthread.php?tid=356139)



Help - arko123 - 02.07.2012

can someone help me think all of theses 8 warnings

C:\Users\callum\Desktop\Samp Server\gamemodes\vx-rp.pwn(1553) : warning 235: public function lacks forward declaration (symbol "initiateTutorial")
C:\Users\callum\Desktop\Samp Server\gamemodes\vx-rp.pwn(3891) : warning 217: loose indentation
C:\Users\callum\Desktop\Samp Server\gamemodes\vx-rp.pwn(3896) : warning 217: loose indentation
C:\Users\callum\Desktop\Samp Server\gamemodes\vx-rp.pwn(3899) : warning 217: loose indentation
C:\Users\callum\Desktop\Samp Server\gamemodes\vx-rp.pwn(3901) : warning 209: function "Streamer_OnPlayerEnterCP" should return a value
C:\Users\callum\Desktop\Samp Server\gamemodes\vx-rp.pwn(651 : warning 217: loose indentation
C:\Users\callum\Desktop\Samp Server\gamemodes\vx-rp.pwn(6524) : warning 217: loose indentation
C:\Users\callum\Desktop\Samp Server\gamemodes\vx-rp.pwn(6532) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


8 Warnings.


Re: Help - Lordzy - 02.07.2012

Your code please.


Re: Help - Nightangle - 02.07.2012

man give the code so i can help u please


Re: Help - arko123 - 02.07.2012

heres the gamemode that im working with http://www.gamefront.com/files/21932475/vx-rp.pwn


Re: Help - SA-MPDrifter - 02.07.2012

These are some simple fixes, just press CTRL G and then type the line numbers in. The loose indentation warnings are easy fixes as well.


Re: Help - Lordzy - 02.07.2012

Can you post the lines which have warning?


Re: Help - arko123 - 02.07.2012

1.public initiateTutorial(const playerid) {
// Clear the dialog if it still exists from the quiz...
hidePlayerDialog(playerid);

2.SetPVarInt(playerid, "tutTime", 10);

3. format(szMessage, sizeof(szMessage), "Last, but not least, please make sure that you register on our community forums: "EMBED_GREY"%s"EMBED_WHITE".", szServerWebsite);

4. firstPlayerSpawn(playerid);

5.}

6. TextDrawFont(textdrawVariables[3], 2);

7. SendClientMessage(playerid, COLOR_WHITE, "Your character must be older than 16, and can't be older than 122 years old.");

8. listitem += 1;


Re: Help - Lordzy - 02.07.2012

I feel like something after seeing all these.
Please add your gm in pastebin and paste the link here.
I could not help you because im using in mobile.
I'll get a pc later only.
So,if you post here im sure that some one will help.
Im sorry.