(16831) : error 035: argument type mismatch (argument 1) (32736) : error 075: input line too long (after substitutions)
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
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;
}
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; |
input line too long (after substitutions)
Download Zeex's PAWN Compiler Patches ("line limit increased to 4095, instead of 511"): https://sampforum.blast.hk/showthread.php?pid=2768123#pid2768123 |