IsPlayerInArea
#1

do i use this

pawn Код:
stock IsPlayerInArea(playerid, Float:max_x, Float:min_x, Float:max_y, Float:min_y)
{
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    if(X <= max_x && X >= min_x && Y <= max_y && Y >= min_y) return 1;
    return 0;
}
i want to make it 99999999 health when you enter the zone and show some textdraw but where does SetPlayerHealth and TextDrawShowForPlayer go?
Reply


Messages In This Thread
IsPlayerInArea - by V1ceC1ty - 21.07.2009, 06:21
Re: IsPlayerInArea - by arnutisz - 21.07.2009, 07:22
Re: IsPlayerInArea - by V1ceC1ty - 21.07.2009, 07:50
Re: IsPlayerInArea - by Grim_ - 21.07.2009, 08:28
Re: IsPlayerInArea - by V1ceC1ty - 21.07.2009, 08:41
Re: IsPlayerInArea - by Donny_k - 21.07.2009, 09:12
Re: IsPlayerInArea - by V1ceC1ty - 21.07.2009, 09:24
Re: IsPlayerInArea - by MadeMan - 21.07.2009, 10:05
Re: IsPlayerInArea - by V1ceC1ty - 21.07.2009, 10:43
Re: IsPlayerInArea - by MadeMan - 21.07.2009, 11:11

Forum Jump:


Users browsing this thread: 3 Guest(s)