Helppp!
#1

C:\Documents and Settings\Admin\Desktop\VN-RP\gamemodes\modernliferp.pwn(35330) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#2

Use a better title like "warning 225: unreachable code".
Show us lines 35328-35332

That warning is given when you use return and on the next lines there is code.

pawn Код:
// Example:

// some code..
SendClientMessage( playerid, -1, "blabla" );
return 1;
new a = GetPlayerScore( playerid ); // warning 225: unreachable code
Reply
#3

code code code code code code code
Reply
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Use a better title like "warning 225: unreachable code".
Show us lines 35328-35332

That warning is given when you use return and on the next lines there is code.

pawn Код:
// Example:

// some code..
SendClientMessage( playerid, -1, "blabla" );
return 1;
new a = GetPlayerScore( playerid ); // warning 225: unreachable code
i'm don't know ?
Reply
#5

Me neither. I cannot read your mind and see the code.. and post the exact code to fix your warning..

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Use a better title like "warning 225: unreachable code".
Show us lines 35328-35332

That warning is given when you use return and on the next lines there is code.

pawn Код:
// Example:

// some code..
SendClientMessage( playerid, -1, "blabla" );
return 1;
new a = GetPlayerScore( playerid ); // warning 225: unreachable code
Reply
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Me neither. I cannot read your mind and see the code.. and post the exact code to fix your warning..
You just write the code like this. and give me that
C:\Documents and Settings\Admin\Desktop\VN-RP\gamemodes\modernliferp.pwn(35330) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#7

Did you read what I said or you paste the code immediately? That WAS AN EXAMPLE of what the warning is..

As long as you don't show the lines, we cannot help you.
Reply
#8

C:\Documents and Settings\Admin\Desktop\VN-RP\gamemodes\modernliferp.pwn(5590) : error 017: undefined symbol "LoadDrugs"
C:\Documents and Settings\Admin\Desktop\VN-RP\gamemodes\modernliferp.pwn(35320) : warning 209: function "SaveDrugs" should return a value
C:\Documents and Settings\Admin\Desktop\VN-RP\gamemodes\modernliferp.pwn(35322) : error 021: symbol already defined: "SaveDrugs"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#9

When you open Pawn, you have little beautiful numbers on the left. Many numbers if you have a big script. Go down, down until in those little numbers on the left you see 35328. Start copying the next lines starting from 35328 until you reach 35332.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)