SA-MP Forums Archive
Help Update3DTextLabelText [rep++] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help Update3DTextLabelText [rep++] (/showthread.php?tid=392913)



Help Update3DTextLabelText [rep++] - teomakedonija - 16.11.2012

How to make when i /kupifirma to buy a property to show 3DText becouse property is my i like this script

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);
Rep ++


Re: Help Update3DTextLabelText [rep++] - Faisal_khan - 16.11.2012

What do you mean? I cannot understand your lang..

P.S. Use pawn tags to paste a code.


Re: Help Update3DTextLabelText [rep++] - Sting. - 16.11.2012

Honestly we can't see the code properly. Please Edit and rearrange it with Code tags as Faisal said.


Re: Help Update3DTextLabelText [rep++] - teomakedonija - 16.11.2012

sry now its ok ?


Re: Help Update3DTextLabelText [rep++] - Sting. - 16.11.2012

Yeah it is.


Re: Help Update3DTextLabelText [rep++] - teomakedonija - 16.11.2012

When its ok help me !