16.11.2012, 12:43
(
Последний раз редактировалось teomakedonija; 16.11.2012 в 13:30.
)
How to make when i /kupifirma to buy a property to show 3DText becouse property is my i like this script
Rep ++
pawn Код:
mylabel = format(string,sizeof(string),"{F81414}Firma\n {157DEC}Ime: {F3FF02}%s\n {157DEC}Cena: {F3FF02}%d\n {157DEC}Zarabotka: {F3FF02}%d$",PropInfo[id][PropName], PropInfo[id][PropValue], PropInfo[id][PropEarning]);
mylabel = Create3DTextLabel(string ,0xAA3333AA,PropInfo[id][PropX], PropInfo[id][PropY], PropInfo[id][PropZ]+0.5,15, 0, 0);
if(PropInfo[id][PropIsBought] == 1)
{
BoughtProps++;
mylabel = format(string,sizeof(string),"{F81414}Firma\n {157DEC}Gazda: {F3FF02}%s\n {157DEC}Cena: {F3FF02}%d\n {157DEC}Zarabotka: {F3FF02}%d$",PropInfo[id][PropOwner], PropInfo[id][PropValue], PropInfo[id][PropEarning]);
mylabel = Update3DTextLabelText(mylabel ,0xAA3333AA,PropInfo[id][PropX], PropInfo[id][PropY], PropInfo[id][PropZ]+0.5,15, 0, 0);