06.04.2014, 16:59
It seems like only EPosX has been saved as float and the rest as integers. Are you sure the datatype of the rest in the table is FLOAT as well as for EPosX field?
In order to prevent a run time error 4 again if the slots are full, after the loop:
In order to prevent a run time error 4 again if the slots are full, after the loop:
pawn Код:
if (houseid == -1) return SendClientMessage(playerid, -1, "No more house slots available.");