Posts: 871
Threads: 114
Joined: May 2014
PHP код:
format(string, sizeof(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(string, sizeof(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 213: tag mismatch
C:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(21599) : warning 213: tag mismatch
C:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(21600) : warning 213: tag mismatch
C:\Users\Arlindi\Desktop\CnrxD\gamemodes\cnr.pwn(21600) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
Posts: 871
Threads: 114
Joined: May 2014
Posts: 871
Threads: 114
Joined: May 2014
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
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.
Posts: 871
Threads: 114
Joined: May 2014
Posts: 817
Threads: 136
Joined: Mar 2013
Reputation:
0
Are the enums actually called "h_HouseIntName", "h_OwnerName" etc.?
Posts: 871
Threads: 114
Joined: May 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]
};
Posts: 871
Threads: 114
Joined: May 2014