03.06.2017, 06:17
Код:
(16831) : error 035: argument type mismatch (argument 1) (32736) : error 075: input line too long (after substitutions)
PHP код:
format(infoString, sizeof(infoString), "Complete Name: %s\nTelephone Number: %d\nDriver's License: %s\nFirearms License: %s\n\nLast Warrant: %s\n\nHouse Address: %s\nBusiness Address: %s", GetName(inputtext), PlayerInfo[id][pNumber], dlicense, wlicense, lwarrant, ReturnHouseZone(PlayerInfo[id][HouseID]), ReturnBizZone(PlayerInfo[id][BizID])); //16831
PHP код:
stock IsBizInZone(bizid, zoneid)
{
if(zoneid == -1) return false; //32736
if(BusinessInfo[bizid][bEntranceX] >= SanAndreasZones[zoneid][Zone_Area][0] && BusinessInfo[bizid][bEntranceX] < SanAndreasZones[zoneid][Zone_Area][3] && BusinessInfo[bizid][bEntranceY] >= SanAndreasZones[zoneid][Zone_Area][1] && BusinessInfo[bizid][bEntranceY] < SanAndreasZones[zoneid][Zone_Area][4] && BusinessInfo[bizid][bEntranceZ] >= SanAndreasZones[zoneid][Zone_Area][2] && BusinessInfo[bizid][bEntranceZ] < SanAndreasZones[zoneid][Zone_Area][5] && BusinessInfo[bizid][bEntranceZ] < 900.0) return true;
return false;
}