08.02.2018, 11:37
Anyone give me stock that check is player in any buisness ?
IsPlayerInRangeOfPoint
IsPlayerInBusiness(playerid)
{
if(PlayerData[playerid][pd_CurrentBusiness]))
{
if(GetPlayerVirtualWorld(playerid) == BisInfo[PlayerData[playerid][pd_CurrentBusiness]][bbInsideWorld])
return true;
else
PlayerData[playerid][pd_CurrentBusiness] = INVALID_BUSINESS_ID;
}
return false;
}