[HELP] onplayerdeath problem
#1

I was made player new like AdminKill[MAX_PLAYERS]; and put that in /kill command beacuse I kill my self with that command and know the problem is if I near some player he get like you killed civilan you get the wanted level if you know what I mean and beacuse of that I made this AdminKill and put in command AdminKill[id] = 1; know how can under onplayerdeath add the code if player have that variable I mean if he killed by admin then I want to make that the text you kill civilan doensn't show to player if admin kill someone near other player. I hope so that you understand me and I try something like

if(AdminKill[playerid] == 0) so this somehow will check if player has killed by admin and if he is killed by admin this text then don't show.
{
and here is that for that text where it says you kill civilan and then the killerid geting wl
}
Reply
#2

Quote:
Originally Posted by Luca12
Посмотреть сообщение
I was made player new like AdminKill[MAX_PLAYERS]; and put that in /kill command beacuse I kill my self with that command and know the problem is if I near some player he get like you killed civilan you get the wanted level if you know what I mean and beacuse of that I made this AdminKill and put in command AdminKill[id] = 1; know how can under onplayerdeath add the code if player have that variable I mean if he killed by admin then I want to make that the text you kill civilan doensn't show to player if admin kill someone near other player. I hope so that you understand me and I try something like

if(AdminKill[playerid] == 0) so this somehow will check if player has killed by admin and if he is killed by admin this text then don't show.
{
and here is that for that text where it says you kill civilan and then the killerid geting wl
}
I can barely understand that, I say put some more code.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)