#1

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

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?
Reply
#3

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);
    }
Reply
#4

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?
Reply
#5

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


Forum Jump:


Users browsing this thread: 4 Guest(s)