Please help!!
#5

The problem is that 'killerid' isn't always a playerid, sometimes it's INVALID_PLAYER_ID. You can't search an array for INVALID_PLAYER_ID without causing a script cease.

pawn Код:
if(killerid!=INVALID_PLAYER_ID)
{
    //Code containing killerid
}else{
    //player died of other causes
}
Reply


Messages In This Thread
Please help!! - by RcoN! - 10.10.2011, 20:14
Respuesta: Please help!! - by matias1994 - 10.10.2011, 20:21
Re: Please help!! - by Dripac - 10.10.2011, 20:21
Re: Please help!! - by grand.Theft.Otto - 10.10.2011, 20:24
Re: Please help!! - by Joe Staff - 10.10.2011, 20:25
Respuesta: Please help!! - by RcoN! - 10.10.2011, 20:25
Re: Please help!! - by GrimR - 10.10.2011, 20:46
Respuesta: Please help!! - by RcoN! - 10.10.2011, 21:03
Re: Please help!! - by GrimR - 10.10.2011, 21:10
Respuesta: Re: Please help!! - by RcoN! - 10.10.2011, 21:13

Forum Jump:


Users browsing this thread: 1 Guest(s)