SA-MP Forums Archive
Converting Textdraw into 3d text! - 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: Converting Textdraw into 3d text! (/showthread.php?tid=348944)



Converting Textdraw into 3d text! - deltapro - 07.06.2012

Well does somebody knows how to convert this into 3d text ?

pawn Код:
if(biz[t][biztype]==7){// paintball
                    format(bizfilename[t],sizeof(bizfilename),"Businesses/%s.txt",biz[t][bizname]);
                    blevel[t]=dini_Int(bizfilename[t],"level");
                    bizown[t]=dini_Get(bizfilename[t],"owner");
                    entrance=dini_Int(bizfilename[t],"entrance");
                    bizbuyable[t]=dini_Int(bizfilename[t],"bizbuyable");
                    bizprice[t]=dini_Int(bizfilename[t],"bizprice");
                    if(!strlen(dini_Get(bizfilename[t],"name")))
                    {
                        if(!bizbuyable[t]) format(infoh2,sizeof(infoh2),"~y~Paintball~n~~w~Owner: %s~n~Entrance: %d$~n~Level: %d",bizown[t],entrance,blevel[t]);
                        else format(infoh2,sizeof(infoh2),"~y~Paintball~n~~w~Owner: %s~n~Entrance: %d$~n~Price: ~g~%d$",bizown[t],entrance,bizprice[t]);
                    }
                    else
                    {
                        if(!bizbuyable[t]) format(infoh2,sizeof(infoh2),"~y~%s~n~~w~Owner: %s~n~Entrance: %d$~n~Level: %d",dini_Get(bizfilename[t],"name"),bizown[t],entrance,blevel[t]);
                        else format(infoh2,sizeof(infoh2),"~y~%s~n~~w~Owner: %s~n~Entrance: %d$~n~Price: %d$",dini_Get(bizfilename[t],"name"),bizown[t],entrance,bizprice[t]);
                    }
                    TextDrawSetString(BizTD[i],infoh2);
                    TextDrawShowForPlayer(i,BizTD[i]);
                    HideTD[i]=5;
                }



AW: Converting Textdraw into 3d text! - deltapro - 07.06.2012

Still waiting for someone to reply ..


Re: Converting Textdraw into 3d text! - ViniBorn - 07.06.2012

Create3DTextLabel