killed by vehicle
#1

hello guys,
i want to make for my server when i get killed form Sea Sparrow system send message to you "you kill %s with Sea sparrow"
Thank you.
Reply
#2

When you kill a player with Seasparrow, it shows the M4 in the death list if I'm not mistaken.

So check if the reason is 31 and the killerid is driver in Seasparrow (447 modelid) and show the message.
Reply
#3

i don't have any idea how to make it so can you make this script for me ?
Reply
#4

It was well explained and you could do that yourself (don't be lazy )
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(reason == 31 && GetPlayerState(killerid) == PLAYER_STATE_DRIVER && GetVehicleModel(GetPlayerVehicleID(killerid)) == 447)
    {
        // code..
    }
    return 1;
}
Reply
#5

yeah it works thanks so much.
REP +
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)