Killingspree system
#6

Hmm can I ask how did you know the codes below it doesn't get executed? Did you test it alone? Or were there someone testing it with you (Who killed you or you probably killed them)?

Because if you have it under OnPlayerDeath like this:

pawn Код:
KillingSpree(killerid);
while killerid is not connected (INVALID_PLAYER_ID) it would never execute the code after the killing spree function.

If what I said is true, then you can add this before doing any checks in your stock to get rid of this issue

pawn Код:
stock KillingSpree(killerid)
{
    if(!IsPlayerConnected(killerid)) // add this
        return 1; // and this
    // Your stock codes here
Reply


Messages In This Thread
Killingspree system - by CoDeZ - 26.07.2012, 18:26
Re: Killingspree system - by Kitten - 26.07.2012, 18:27
Re: Killingspree system - by CoDeZ - 26.07.2012, 18:28
Re: Killingspree system - by [KHK]Khalid - 26.07.2012, 18:45
Re: Killingspree system - by CoDeZ - 26.07.2012, 19:26
Re: Killingspree system - by [KHK]Khalid - 26.07.2012, 19:49
Re: Killingspree system - by CoDeZ - 26.07.2012, 20:37

Forum Jump:


Users browsing this thread: 1 Guest(s)