[Help] /kill
#1

Hello,

If I use my disable kill only Cops can't use /kill in jail I know it's something with the gTeam but I don't know where to set it:
http://pastebin.com/m4f9d9ac8 (Jail Command)

And this is my disable /kill command
pawn Код:
if(strcmp(cmd, "/kill", true) == 0)
        {
    if(IsJailed[playerid] == 1) return SendClientMessage(playerid,COLOR_RED,"You cannot kill yourself when jailed!");
    SetPlayerHealth(playerid,0.0);
        return 1;
}

Top of script:
pawn Код:
new IsJailed[MAX_PLAYERS];

If player is jailed:
pawn Код:
IsJailed[playerid] = 1;
Reply


Messages In This Thread
[Help] /kill - by joeri55 - 12.06.2009, 21:18
Re: [Help] /kill - by HuRRiCaNe - 12.06.2009, 21:40
Re: [Help] /kill - by joeri55 - 12.06.2009, 21:43
Re: [Help] /kill - by HuRRiCaNe - 12.06.2009, 22:22
Re: [Help] /kill - by joeri55 - 12.06.2009, 22:29
Re: [Help] /kill - by HuRRiCaNe - 13.06.2009, 00:50
Re: [Help] /kill - by ByFukara - 14.06.2009, 15:52
Re: [Help] /kill - by joeri55 - 15.06.2009, 21:47
Re: [Help] /kill - by joeri55 - 18.06.2009, 21:45
Re: [Help] /kill - by mamorunl - 18.06.2009, 22:12

Forum Jump:


Users browsing this thread: 1 Guest(s)