Detecting Explosions -
#1

Hi, To detect explosions I do this in my onplayerdeath:

Код:
if(reason == 51 && !IsPlayerConnected(killerid)
{
     // the player died NO KILLER FOUND
}
else
{
    // THE KILLER ID IS FOUND FOR THE EXPLOSIVES
}
But the else statement never gets entered - like it could not find the killer id. Why :/

Thanks
Reply
#2

you are missing a bracket after isplayerconnected lol
Reply
#3

Quote:
Originally Posted by king_hual
Посмотреть сообщение
you are missing a bracket after isplayerconnected lol
I think he only made an example.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)