#1

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.
Reply
#2

Your code please.
Reply
#3

man give the code so i can help u please
Reply
#4

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

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.
Reply
#6

Can you post the lines which have warning?
Reply
#7

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;
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)