I'm trying in this way who could help me to realize the information of the apartment that you own??
Code:
//NATIVE :
static char* _GET_LABEL_TEXT(char *labelName) { return invoke<char*>(0x95C4B5AD, labelName); } // 0x95C4B5AD
void Apartament(int SelectPlayer, int propertyID)
{
char getLabel0[0x100];
char getLabel1[0x100];
char getLabel2[0x100];
int globalHash1 = getPlayerStat(SelectPlayer, propertyID);
//getPlayerStat(SelectPlayer, 0xEA); // Apt 1
int globalHash2 = getPlayerStat(SelectPlayer, propertyID);
//getPlayerStat(SelectPlayer, 0xEB); // Apt 2
int globalHash3 = getPlayerStat(SelectPlayer, propertyID);
//getPlayerStat(SelectPlayer, 0xEC); // Apt 3
sprintf(getLabel0, "Apartament 1 : %s, n° %i", _GET_LABEL_TEXT(getLabel0), getPlayerStat(SelectPlayer, 0xEA)); // Apt 1
sprintf(getLabel1, "Apartament 2 : %s, n° %i", _GET_LABEL_TEXT(getLabel1), getPlayerStat(SelectPlayer, 0xEB)); // Apt 2
sprintf(getLabel2, "Apartament 3 : %s, n° %i", _GET_LABEL_TEXT(getLabel2), getPlayerStat(SelectPlayer, 0xEC)); // Apt 3
InfoText(getLabel0, 4, Infoapartament1, infoapartamentY1, 0.38f, 0.38f, 255, 255, 255, 255, false);
InfoText(getLabel1, 4, Infoapartament2, infoapartamentY2, 0.38f, 0.38f, 255, 255, 255, 255, false);
InfoText(getLabel2, 4, Infoapartament3, infoapartamentY3, 0.38f, 0.38f, 255, 255, 255, 255, false);
}