Is this ever gonna be fixed?
#1

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.
Reply
#2

Nope.

Use:

INVALID_KILLER_ID < I think, or it could be - if(killerid == INVALID_KILLER_ID)

If that's what you're talking about.
Reply
#3

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
Reply
#4

so use
if(IsPlayerNPC(playerid)) return 1;
?
Reply
#5

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
Reply
#6

if(killerid != INVALID_PLAYER_ID && killerid != playerid)
Reply
#7

I haven't ever had this problem, it sounds like something in the script is changing the killerid
Reply
#8

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.
Reply
#9

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
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)