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;}
AddPlayerClass(269,2462.3354,-1628.8518,15.6254,161.4826,0,0,0,0,0,0); // magánterület 1AddPlayerClass(269,2540.3540,-1625.9254,17.9532,237.6234,0,0,0,0,0,0); // magánterület 1AddPlayerClass(269,2543.0156,-1723.8944,13.5469,182.7895,0,0,0,0,0,0); // magánterület 1AddPlayerClass(269,2461.6902,-1724.1489,13.5673,336.3009,0,0,0,0,0,0); // magánterület 1
Ezt meg tudod oldani IsPlayerInRangeOfPointal is!Katt ide!