Why doesn't "SendDeathMessage(playerid,INVALID_PLAYER_ID,200); " work on some..
#1

.. scripts? Is it known yet?

It's strange how it could work on one script, but not another.

Any ideas?
Reply
#2

SendDeathMessage(killerid,playerid,reason);
This is how it works.
Reply
#3

Quote:
Originally Posted by BiG_Sm0k3
SendDeathMessage(killerid,playerid,reason);
This is how it works.
Lol, no. Please learn what you're talking about before you go talking about random stuff.

I'm talking about the disconnect/connect icons.
Reply
#4

I know what are you talking about, you made it wrong:
On disconnect function is:
SendDeathMessage(INVALID_PLAYER_ID,playerid,200)
The invalid is the killer because there is no killer, the player id is the player taht disconnects and 200 is the reason.
Reply
#5

What do you mean it works on some scripts and not the other?... It works on all scripts, your most likely doing something wrong.
Reply
#6

just add
Code:
;
the script needs to end function!
code here:
pawn Code:
SendDeathMessage(INVALID_PLAYER_ID,playerid,200);//it works! i have tried! ;)
ye it rly works!
Reply
#7

Nevermind lol!
Reply
#8

does that work?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)