Unreachable code and Error i dont have this line /?
#1

PHP код:
if(GetPVarInt(playerid"ScreenShow") == 0)
    {
        
SetPlayerInterior(playerid,0);
        
SetTimerEx("ShowTD",250,0,"i",playerid);
        return 
1;
    }
return 
0;

This is first ......

This is second

OKEY WTF is that i dont have line 1375.......
Reply
#2

Remove the return 1; bit and change the return 0; to a return 1;
Reply
#3

what its saying ?

its in line 530


show us the line 530
Texture and step
shows us
Reply
#4

Reply
#5

Remove the return 1; above if(getpvarint..
Reply
#6

Reply
#7

Bulgaria? Do like that.

You didn't close the brace of that "}"
You should do like that,
pawn Код:
if(GetPVarInt(playerid, "SreenShow") ==0)
{
           {
             Set.....
             return 0;
            }
}
Reply
#8


That's great so now what
Reply
#9

Now you miss brackets. Do Ctrl + Z to undo.

and it should be:
pawn Код:
public OnPlayerSpawn(playerid)
{
    // code
    if(GetPVarInt(playerid, "ScreenShow") == 0)
    {
        SetPlayerInterior(playerid,0);
        SetTimerEx("ShowTD",250,0,"i",playerid);
    }
    return 1;
}
For the warning 'symbol is never used', use it somewhere or remove it. Don't worry about it though.
Reply
#10

Something went wrong on your brackets, Ctrl + Z to set your positions back in pawno, then try at the end of the script
pawn Код:
}
                               }
     return 1;
 }
   return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)