Help for 1 warning and 1 error..
#1

Here is the error and warning :

mod.pwn(2264) :warning 225: unreachable code
mod.pwn(2340) :error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Error :

if( == true) DestroyPlayerObject(playerid, Ramp), CreatedRamp[playerid] = false; - 2340
CreatedRamp[playerid] = false;
Enabled[playerid]=0;
Pers[playerid]=0;
}

Warning :

Enabled[playerid]=0; - 2264
Pers[playerid]=0;
return 1;
}
Reply
#2

if ( == true) ?
If what = true?

Can't really understand the rest as you haven't provided enough code.
Also use [/code] to incorporate your code.
Reply
#3

This is the all of this part of code..
Reply
#4

For the error, you have empty thing. Try to fix it 'if(YourVariable == true), just like NoSoap said.
For the warning, the code looks missing and uncompleted. Post all the code.
Reply
#5

I fixed them!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)