25.02.2018, 22:16
Use Essa Stock, Valeus!
PHP код:
stock IsPlayerInPlace( playerid, Float:XMin, Float:YMin, Float:XMax, Float:YMax )
{
new
RetValue = 0,
Float:aX,
Float:aY,
Float:aZ
;
GetPlayerPos( playerid, aX, aY, aZ );
if( aX >= XMin && aY >= YMin && aX < XMax && aY < YMax )
{
RetValue = 1;
}
return RetValue;
}

