SA-MP Forums Archive
Errors I have yet to learn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Errors I have yet to learn (/showthread.php?tid=635197)



Errors I have yet to learn - NealPeteros - 03.06.2017

Код:
(16831) : error 035: argument type mismatch (argument 1)
(32736) : error 075: input line too long (after substitutions)
Whole code of 16831: >>CLICK ME<<

PHP код:
format(infoStringsizeof(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], dlicensewlicenselwarrantReturnHouseZone(PlayerInfo[id][HouseID]), ReturnBizZone(PlayerInfo[id][BizID])); //16831 
PHP код:
stock IsBizInZone(bizidzoneid)
{
    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;




Re: Errors I have yet to learn - CheezIt - 03.06.2017

input line too long (after substitutions)

Quote:

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;

Download Zeex's PAWN Compiler Patches ("line limit increased to 4095, instead of 511"): https://sampforum.blast.hk/showthread.php?pid=2768123#pid2768123


Re: Errors I have yet to learn - NealPeteros - 03.06.2017

Quote:
Originally Posted by CheezIt
Посмотреть сообщение
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
Haven't heard of that thing, Zeex's PAWN Compiler Patches. All I know is that it worked. 16831 line left.


Re: Errors I have yet to learn - NealPeteros - 03.06.2017

Bumping on line 16831

EDIT: SOLVED