06.07.2010, 14:21
Код:
new IsInZone[MAX_PLAYERS]; forward provazone(playerid); public provazone(playerid) { new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X, Y, Z); if(X >= 1331.278 && X <= 2207.118 && Y >= -2755.979 && Y <= -2125.373 && IsInZone[playerid] == 0) { IsInZone[playerid] = 1; SendClientMessage(playerid,COLOR_RED,"Welcome to the stunt zone!"); } return 1; }