How do I make this?
#7

pawn Код:
public isPlayerInArea()
{
    new Float:X, Float:Y, Float:Z;
    for(new i=0; i < MAX_PLAYERS; i++)
    {
        GetPlayerPos(i, X, Y, Z);
        if (X <= 2806.4766 && X >= 2566.6860 && Y <= -2332.2461 && Y >= -2562.3301) // area 1
        {
        }
        else if (X <= 2806.4766 && X >= 2566.6860 && Y <= -2332.2461 && Y >= -2562.3301) // area 2
        {
        }
        else
        {
            ResetPlayerWeapons(i);
        }
    }
}
And don't give weapons in this timer, but in the command that teleports player.
Reply


Messages In This Thread
How do I make this? - by Gemini - 18.05.2011, 13:47
Re: How do I make this? - by Zh3r0 - 18.05.2011, 13:51
Re: How do I make this? - by MadeMan - 18.05.2011, 13:51
Re: How do I make this? - by Gemini - 18.05.2011, 14:12
Re: How do I make this? - by MadeMan - 18.05.2011, 14:32
Re: How do I make this? - by Gemini - 18.05.2011, 14:54
Re: How do I make this? - by MadeMan - 18.05.2011, 14:59
Re: How do I make this? - by Zh3r0 - 18.05.2011, 15:00
Re: How do I make this? - by Gemini - 18.05.2011, 15:16

Forum Jump:


Users browsing this thread: 9 Guest(s)