25.05.2017, 07:35
PHP код:
new pos1 = x,y,z;
new pos2 = x,y,z;
if (IsPlayerInRangeOfPoint(playerid, 7.0, pos1 or pos2))
{
SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
}
Like this Example:
PHP код:
new pos1 = x,y,z;
new pos2 = x,y,z;
if (IsPlayerInRangeOfPoint(playerid, 7.0, pos1 || pos2))
{
SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
}
PHP код:
new pos1 = x,y,z;
new pos2 = x,y,z;
if (IsPlayerInRangeOfPoint(playerid, 7.0, pos1 && pos2))
{
SendClientMessage(playerid,0xFFFFFFFF,"You are near the stadium entrance!");
}