05.04.2020, 10:52
Quote:
|
This,
also you can use Code:
stock IsPlayerInTheArea(playerid,Float:minx,Float:miny,Float:maxx,Float:maxy)
{
new Float:posx, Float:posy, Float:posz;
GetPlayerPos(playerid, posx,posy,posz);
if(posx >= minx && posx <= maxx && posy >= miny && posy <= maxy)
{
return true;
}
else return false;
}
Code:
if(IsPlayerInTheArea(playerid,X,Y,X,Y))
{
//He is in your area. do it here
}
|


