INT to NAME
#1

Hey. I need your help. So how to do this:

I have my /createbiz command. And when i create biz it creates 3d text like this:

~ Biz for sale - (here should show biz name not int,its shows e.g. '4') ~


CODE:

PHP код:
stock BusinessType(BIZID)
{
    new 
string[30];
    switch(
BusinessInfo[BIZID][bType])
    {
        case 
5string "Cvijecara";
        case 
4string "GunShop";
        case 
3string "24/7";
        case 
2string "Bar";
        case 
1string "Ducan sa odjecom";
    }
    return 
string;

CODE of 3D:

PHP код:
new poruka[256];
    
format(poruka,sizeof(poruka),""COLOR_SIVA"~{FFFFFF} Firma na prodaju -"COLOR_WG" %d"COLOR_SIVA" ~\n{FFFFFF}Cijena:"COLOR_ZELENA" $%d\n\n{FFFFFF}Ukoliko zelite kupiti firmu: /kupifirmu",level,BusinessInfo[id][bPrice]);
    
Create3DTextLabel(poruka,-1,BusinessInfo[id][bEntranceX], BusinessInfo[id][bEntranceY], BusinessInfo[id][bEntranceZ],30,0,0); 
Reply


Messages In This Thread
INT to NAME - by NoDi522 - 09.05.2015, 11:33
Re: INT to NAME - by DaniceMcHarley - 09.05.2015, 11:35
Re: INT to NAME - by NoDi522 - 09.05.2015, 11:52
Re: INT to NAME - by Luis- - 09.05.2015, 11:54
AW: INT to NAME - by Mencent - 09.05.2015, 11:57
Re: INT to NAME - by DaniceMcHarley - 09.05.2015, 12:46
Re: INT to NAME - by Luis- - 09.05.2015, 13:03
Re: INT to NAME - by J4Rr3x - 09.05.2015, 13:06
Re: INT to NAME - by NoDi522 - 09.05.2015, 16:57
AW: INT to NAME - by Mencent - 09.05.2015, 17:02

Forum Jump:


Users browsing this thread: 1 Guest(s)