[HELP] Question
#5

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;
}

Here, I change the X by my coords?

sorry but i never do scripts like this one
Reply


Messages In This Thread
[HELP] Question - by jonybomb - 07.02.2010, 20:02
Re: [HELP] Question - by mansonh - 07.02.2010, 20:09
Re: [HELP] Question - by jonybomb - 07.02.2010, 20:45
Re: [HELP] Question - by mansonh - 07.02.2010, 20:56
Re: [HELP] Question - by jonybomb - 07.02.2010, 21:11
Re: [HELP] Question - by mansonh - 07.02.2010, 21:12
Re: [HELP] Question - by jonybomb - 07.02.2010, 21:24

Forum Jump:


Users browsing this thread: 1 Guest(s)