- 0
Problema 3DTEXTLABEL
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
muresan_emanuel2001
Salutare tuturor.
De cateva zile intampin o problema la care nicicum nu reusesc sa-i dau din cap. Am creat un 3dtextlabel dynamic la case deasupra iconitei dar problema e ca nu reusesc nicicum la cumparare/vanzare sa i dau update/sa l sterg si sa l adaug pe cel nou.
new Text3D:HouseLabel[sizeof(HouseInfo)]; // la sellhouse : DestroyDynamic3DTextLabel(HouseLabel[house]); Loadproperty: for(new h = 0; h < sizeof(HouseInfo); h++) { if(HouseInfo[h][hOwned] == 0) { format(string, sizeof(string), "{99CCCC}Casa {FFFFFF}%d\n{99CCCC}Aceasta casa este de vanzare\nDescriere: {FFFFFF}%s \n{99CCCC}Cost: {FFFFFF}$%d\n{99CCCC}Nivel : {FFFFFF}%d\npentru a cumpara /buyhouse",h,HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]); HouseLabel[h] = CreateDynamic3DTextLabel(string,0x09FF00FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); housepickup[h] = CreateDynamicPickup(1273, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); pickups++; } if(HouseInfo[h][hOwned] == 1) { if(HouseInfo[h][hRentabil] == 0) { format(string, sizeof(string), "{99CCCC}Aceasta casa este detinuta de\n{FFFFFF}%s\n{99CCCC}Nivel: {FFFFFF}%d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]); } else { format(string, sizeof(string), "{99CCCC}Aceasta casa este detinuta de\n{FFFFFF}%s\n{99CCCC}Nivel: {FFFFFF}%d\n{99CCCC}/rentroom {FFFFFF}pentru a inchiria",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]); } HouseLabel[h] = CreateDynamic3DTextLabel(string,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],25, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 1, -1, -1, -1, 100.0); housepickup[h] = CreateDynamicPickup(1277, 1, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); pickups++; } //printf("Case: %d",HouseInfo); }1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now