Whats wrong with onplayerdeath?
#5

I just told you..

Quote:
Important Note: You MUST check whether killerid equals INVALID_PLAYER_ID before using it in an array, as it will cause the script to stop.

pawn Код:
if(killerid != INVALID_PLAYER_ID) // Valid killer
{
    // Decrease money
}
else
{
    // Decrease money
}
Reply


Messages In This Thread
Whats wrong with onplayerdeath? - by Admigo - 29.03.2013, 19:45
Re: Whats wrong with onplayerdeath? - by Vince - 29.03.2013, 19:58
Re: Whats wrong with onplayerdeath? - by Konstantinos - 29.03.2013, 20:13
Re: Whats wrong with onplayerdeath? - by Admigo - 29.03.2013, 22:02
Re: Whats wrong with onplayerdeath? - by Konstantinos - 29.03.2013, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)