Kill list help
#1

Hello!....I've a RP server and i would like to make FBI and Hitman kills don't appear on the kill list to avoid Metagaming....I'll be thankful if someone help me

CODE:
Код:
PlayerInfo[playerid][playerteam] = FBI
Reply
#2

define ?
Reply
#3

Quote:
Originally Posted by ZcvDev
Посмотреть сообщение
define ?
Define of what ?
Reply
#4

#define FBI
Reply
#5

or use loop
Reply
#6

Already defined i just want to know how to hide a kill from the kill list
Reply
#7

"Kill list"? You mean you send Death messages OnPlayerDeath?
Easy, just use a switch, and if the playerteam is FBI or hitman, then don't send it.
Example:
pawn Код:
switch(PlayerInfo[playerid][playerteam])
{
    case FBI: return 1;
    case Hitman: return 1;
    default: // SendDeathMessage codes
}
Reply
#8

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
"Kill list"? You mean you send Death messages OnPlayerDeath?
Easy, just use a switch, and if the playerteam is FBI or hitman, then don't send it.
Example:
pawn Код:
switch(PlayerInfo[playerid][playerteam])
{
    case FBI: return 1;
    case Hitman: return 1;
    default: // SendDeathMessage codes
}
i mean the kill list on the right of the screen.....is it possible to control it ?

EDIT:Solved thanks
Reply
#9

The Code i did

if(killerid != INVALID_PLAYER_ID && PlayerInfo[killerid][playerteam] != HITMAN && PlayerInfo[killerid][playerteam] != FBI) SendDeathMessage(killerid,playerid,reason);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)