SA-MP Forums Archive
Error Tag mismatch - 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: Error Tag mismatch (/showthread.php?tid=523324)



Error Tag mismatch - arlindi - 01.07.2014

PHP код:
    format(stringsizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~For Sale ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseInfo[Houseid][h_OwnerName],HouseInfo[Houseid][h_Value]);
    
format(stringsizeof(string), "~p~%s~n~~w~Owner: ~b~%s~n~~w~Property Value ~g~$%d",HouseInfo[Houseid][h_HouseIntName],HouseInfo[Houseid][h_OwnerName],HouseInfo[Houseid][h_Value]); 
And Error's

PHP код:
C:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(21599) : warning 213tag mismatch
C
:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(21599) : warning 213tag mismatch
C
:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(21600) : warning 213tag mismatch
C
:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(21600) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
4 Warnings




Re: Error Tag mismatch - arlindi - 01.07.2014

How to fix Please


Re: Error Tag mismatch - arlindi - 01.07.2014

Bump


Re: Error Tag mismatch - ikey07 - 01.07.2014

One of the HouseInfo[Houseid][...] must be wrong, tag mismatch means that you try to set integer as string , or string as float and such.


Re: Error Tag mismatch - arlindi - 01.07.2014

And how to fix it?


Re: Error Tag mismatch - Kyance - 01.07.2014

Are the enums actually called "h_HouseIntName", "h_OwnerName" etc.?


Re: Error Tag mismatch - Dziugsas - 01.07.2014

Quote:
Originally Posted by Kyance
Посмотреть сообщение
Are the enums actually called "h_HouseIntName", "h_OwnerName" etc.?
This could be the case.Check your enums , please.


Re: Error Tag mismatch - arlindi - 01.07.2014

Yes are in enums Look it :
PHP код:
enum hInfo
{
    
Float:h_cpx,
    
Float:h_cpy,
    
Float:h_cpz,
    
h_cpsize,
    
h_cptype,
    
h_cpbustype,
    
h_cpmarker,
    
Float:h_cp_radius,
    
Float:h_entry_x,
    
Float:h_entry_y,
    
Float:h_entry_z,
    
Float:h_entry_a,
    
h_entry_i,
    
h_entry_w,
    
Float:h_exit_x,
    
Float:h_exit_y,
    
Float:h_exit_z,
    
Float:h_exit_a,

    
h_Vehicle_Save,// 0 = No Car Save, 1 = Car Save
     
h_Vehicle_ID,
     
Float:h_Vehicle_x,
    
Float:h_Vehicle_y,
    
Float:h_Vehicle_z,
    
Float:h_Vehicle_a,
    
h_Vehiclecol1,
    
h_Vehiclecol2,

    
h_HouseIntName[256],
    
h_HouseExtName[256]

}; 



Re: Error Tag mismatch - arlindi - 01.07.2014

Bump