Is this ever gonna be fixed? -
cruising - 15.01.2012
OnPlayerDeath?
I mean...if you suicide or dies in a vehicle, blow ur self to the mighty god with a RPG, ID 0 gets the honor for the kill what ever ID you have.
Thats why i have a NPC on ID 0 to avoid free scores from suicides.
Re: Is this ever gonna be fixed? -
iGetty - 15.01.2012
Nope.
Use:
INVALID_KILLER_ID < I think, or it could be - if(killerid == INVALID_KILLER_ID)
If that's what you're talking about.
Re: Is this ever gonna be fixed? -
cruising - 15.01.2012
Quote:
Originally Posted by iGetty
Nope.
Use:
INVALID_KILLER_ID < I think, or it could be - if(killerid == INVALID_KILLER_ID)
If that's what you're talking about.
|
I have tried that to and it doesn't change anything, for the moment my NPC has 253 in score from suicides.. XD
Re: Is this ever gonna be fixed? -
Jefff - 16.01.2012
so use
if(IsPlayerNPC(playerid)) return 1;
?
Re: Is this ever gonna be fixed? -
cruising - 16.01.2012
Quote:
Originally Posted by Jefff
so use
if(IsPlayerNPC(playerid)) return 1;
?
|
Its not that, i use a NPC so no one can get ID 0 and get all the free kills
Re: Is this ever gonna be fixed? -
[ABK]Antonio - 16.01.2012
if(killerid != INVALID_PLAYER_ID && killerid != playerid)
Re: Is this ever gonna be fixed? -
cessil - 16.01.2012
I haven't ever had this problem, it sounds like something in the script is changing the killerid
Re: Is this ever gonna be fixed? -
cruising - 16.01.2012
Quote:
Originally Posted by cessil
I haven't ever had this problem, it sounds like something in the script is changing the killerid
|
It has been like that on all my servers, and i am on my 3rd now.
Re: Is this ever gonna be fixed? -
cessil - 16.01.2012
well I'm saying it's most likely something in your script, you can choose to ignore me but then there's no point posting a thread asking for help, so post your OnPlayerDeath so we can see, and note any other includes or filterscripts that affect OnPlayerDeath
Re: Is this ever gonna be fixed? -
Shadow_ - 16.01.2012
I have had this problem several times, but i couldn't place my finger on the actual reason. but i suspect its something to do with the script its self, not an actual bug.