Help with safezone
#2

i dont understand what do you want but here is what i understand it wont let you sucide when you are in safe zone but if you are not in save zone you can sucide
pawn Код:
CMD:suicide(playerid,params[])
{
    if(IsPlayerInArea(playerid, -381.318511, 1235.180419, -229.318511, 1379.180419))
    {
    SendClientMessage(playerid,COLOR_RED,"You cannot commited suicide in Safe Zone");
    }
    else return SetPlayerHealth(playerid, 0);
    return 1;
}
Reply


Messages In This Thread
Help with safezone - by GAMER_PS2 - 03.12.2011, 03:48
Re: Help with safezone - by Danyal - 03.12.2011, 06:07
Re: Help with safezone - by GAMER_PS2 - 03.12.2011, 06:42

Forum Jump:


Users browsing this thread: 1 Guest(s)