RC - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: RC (
/showthread.php?tid=396726)
RC -
Sanady - 01.12.2012
Hello.I am making server simular to Battlefield 3 and CoD games.I made killstreak.Also I did Explosive RC.But now I don`t have idea how to made next thing.When player press click and when RC explode.To get Death message killer killed player with explosion.How to create it.I am using SendDeathMessage but I don`t know where to put it..Any help?
Re: RC -
Lz - 01.12.2012
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason); // Shows the kill in the killfeed/deathlog/death window
I think thats what you mean? If not can you go in more depth?
Re: RC -
Sanady - 01.12.2012
Look i know that function.But problem is in that I use that and It was not works
pawn Код:
if(IsInRC[killerid] == 1)
{
SendDeathMessage(killerid,playerid,51);
}
Re: RC -
Lz - 01.12.2012
Quote:
Originally Posted by Sanady
Look i know that function.But problem is in that I use that and It was not works
pawn Код:
if(IsInRC[killerid] == 1) { SendDeathMessage(killerid,playerid,51); }
|
Wouldn't it be PlayerIsInRC?
Re: RC -
Sanady - 01.12.2012
Quote:
Originally Posted by Lz
Wouldn't it be PlayerIsInRC?
|
It`s classing variable for checking if is player in RC bandit.
Anyone can help me ?