[Pedido] txdname e texturename
#4

Te reputei, mas como seria?

PHP код:
                new txdname[30], texturename[30];
                if(
imodel == 24) {
                    
txdname "desert_eagle";
                    
texturename "muzzle_texture4";
                }
                else if(
imodel == 29) {
                    
txdname "mp5lng";
                    
texturename "muzzle_texture4";
                }
                else if(
imodel == 25) {
                    
txdname "chromegun";
                    
texturename "muzzle_texture4";
                }
                else if(
imodel == 27) {
                    
txdname "shotgspa";
                    
texturename "muzzle_texture4";
                }
                else if(
imodel == 30) {
                    
txdname "ak47";
                    
texturename "muzzle_texture4";
                }
                else if(
imodel == 31) {
                    
txdname "m4";
                    
texturename "muzzle_texture4";
                }
                else if(
imodel == 33) {
                    
txdname "cuntgun";
                    
texturename "muzzle_texture4";
                }
                else if(
imodel == 34) {
                    
txdname "???";
                    
texturename "muzzle_texture4";
                }
                if(
DropInfo[i][dropItype] == 2SetDynamicObjectMaterial(DropInfo[i][dropObject], 0GetGunObjectID(imodel), txdnametexturenameCOLOR_BRONZE);
                else if(
DropInfo[i][dropItype] == 3SetDynamicObjectMaterial(DropInfo[i][dropObject], 0GetGunObjectID(imodel), txdnametexturenameCOLOR_SILVER);
                else if(
DropInfo[i][dropItype] == 4SetDynamicObjectMaterial(DropInfo[i][dropObject], 0GetGunObjectID(imodel), txdnametexturenameCOLOR_GOLD);
                else if(
DropInfo[i][dropItype] == 5SetDynamicObjectMaterial(DropInfo[i][dropObject], 0GetGunObjectID(imodel), txdnametexturenameCOLOR_PLATINUM); 
Reply


Messages In This Thread
txdname e texturename - by binnyl - 24.01.2018, 07:51
Re: txdname e texturename - by iLordGG - 24.01.2018, 11:01
Re: txdname e texturename - by B4dSh33p - 24.01.2018, 12:46
Re: txdname e texturename - by binnyl - 25.01.2018, 02:11
Re: txdname e texturename - by iLordGG - 25.01.2018, 13:07
Re: txdname e texturename - by binnyl - 25.01.2018, 23:02
Re: txdname e texturename - by binnyl - 27.01.2018, 03:33

Forum Jump:


Users browsing this thread: 1 Guest(s)