06.01.2015, 11:15
(
Последний раз редактировалось _Application_; 06.01.2015 в 11:54.
)
IsPlayerInArea is not a SA:MP function. You'll need to provide the stock / whatever for IsPlayerInArea. This is useless without it(and also put the script on pastebin).
|
IsPlayerInArea(playerid, Float:MinX, Float:MinY, Float:MaxX, Float:MaxY)
{
new Float:x, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
return (X >= MinX && X <= MaxX && Y >= MinY && Y <= MaxY) ? 1 : 0;
}