13.06.2015, 17:11
first you can use
Secondly you can do
All you need is to set coordinates to one you wish
and at end just check if players is in zone it will send GameTextForPlayer or textdraw or smth to player with message you wish.
pawn Code:
public OnGameModeInit()
{
EnableZoneNames(1);
return 1;
}
pawn Code:
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;
}
and at end just check if players is in zone it will send GameTextForPlayer or textdraw or smth to player with message you wish.