Part of this code doesn't respond
#7

Quote:
Originally Posted by KingyKings
Посмотреть сообщение
Okay well are you adding return 1; after each part?

i added it just to show an example ^
yes tried it with return 1; and it didn't work
Quote:
Originally Posted by Dan.
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(killerid,playerid,reason)
{
        if(Assault[playerid]==1)
        {
            if(IsPlayerConnected(killerid))
            {
                    // this part responds
            }
            else
           {
                    // also responds
           }
        }
        if(HellJumper[playerid]==1)
        {
            if(IsPlayerConnected(killerid))
            {
               // responds too
            }
            else
            {
                           // this one doesn't respond
            }
        }
     return 1;
}
Excuse me but i don't need to loose indentation here ..
Reply


Messages In This Thread
Part of this code doesn't respond - by CoDeZ - 29.07.2012, 12:33
Re: Part of this code doesn't respond - by KingyKings - 29.07.2012, 12:44
Re: Part of this code doesn't respond - by CoDeZ - 29.07.2012, 12:45
Re: Part of this code doesn't respond - by KingyKings - 29.07.2012, 12:47
Re: Part of this code doesn't respond - by Dan. - 29.07.2012, 12:47
Re: Part of this code doesn't respond - by Devilxz97 - 29.07.2012, 12:49
Re: Part of this code doesn't respond - by CoDeZ - 29.07.2012, 12:50
Re: Part of this code doesn't respond - by Devilxz97 - 29.07.2012, 12:55
Re: Part of this code doesn't respond - by Dan. - 29.07.2012, 12:55
Re: Part of this code doesn't respond - by Devilxz97 - 29.07.2012, 12:58

Forum Jump:


Users browsing this thread: 2 Guest(s)