[Ajuda] nгo tб setando texturaaa
#1

PHP код:
public Ruaburacos1()
{
Ruadestruidas CreateDynamicObject(41461371.00000, -1582.3437512.45313,    0.000000.00000,  0.00000);
SetObjectMaterial(Ruadestruidas013871"egg_texts""easter_egg01"0xFFFFFFFF);
SetObjectMaterial(Ruadestruidas113871"egg_texts""easter_egg01"0xFFFFFFFF);
SetObjectMaterial(Ruadestruidas213871"egg_texts""easter_egg01"0xFFFFFFFF);
SetObjectMaterial(Ruadestruidas313871"egg_texts""easter_egg01"0xFFFFFFFF);
SetObjectMaterial(Ruadestruidas413871"egg_texts""easter_egg01"0xFFFFFFFF);
SetObjectMaterial(Ruadestruidas513871"egg_texts""easter_egg01"0xFFFFFFFF);
//SetObjectMaterial(Ruadestruidas[0], 3, 13871, "lahills_border1", "sw_rockgrassB2", 0);
//SetObjectMaterial(Ruadestruidas[0], 4, 13871, "lahills_border1", "sw_rockgrassB2", 0);
//SetObjectMaterial(Ruadestruidas[0], 5, 13871, "lahills_border1", "sw_rockgrassB2", 0);
Buracos[0] = CreateDynamicObject(36941404.57166, -1591.9426312.74263,   0.000000.000000.00000);
Buracos[1] = CreateDynamicObject(36941371.67346, -1584.8596212.75022,   0.000000.000000.00000);
Buracos[2] = CreateDynamicObject(36941336.20691, -1575.2362112.72780,   0.000000.000000.00000);

nгo faзo ideia do pq nгo tб setando textura no objeto
Reply
#2

Se usa CreateDynamicObject tem que setar o SetDynamicObjectMaterial

Modo correto:

PHP код:
public Ruaburacos1() 

    
Ruadestruidas CreateDynamicObject(41461371.00000, -1582.3437512.45313,    0.000000.00000,  0.00000); 
    
SetDynamicObjectMaterial(Ruadestruidas013871"egg_texts""easter_egg01"0xFFFFFFFF); 
    
SetDynamicObjectMaterial(Ruadestruidas113871"egg_texts""easter_egg01"0xFFFFFFFF); 
    
SetDynamicObjectMaterial(Ruadestruidas213871"egg_texts""easter_egg01"0xFFFFFFFF); 
    
SetDynamicObjectMaterial(Ruadestruidas313871"egg_texts""easter_egg01"0xFFFFFFFF); 
    
SetDynamicObjectMaterial(Ruadestruidas413871"egg_texts""easter_egg01"0xFFFFFFFF); 
    
SetDynamicObjectMaterial(Ruadestruidas513871"egg_texts""easter_egg01"0xFFFFFFFF); 
    
//SetDynamicObjectMaterial(Ruadestruidas[0], 3, 13871, "lahills_border1", "sw_rockgrassB2", 0); 
    //SetDynamicObjectMaterial(Ruadestruidas[0], 4, 13871, "lahills_border1", "sw_rockgrassB2", 0); 
    //SetDynamicObjectMaterial(Ruadestruidas[0], 5, 13871, "lahills_border1", "sw_rockgrassB2", 0); 
    
Buracos[0] = CreateDynamicObject(36941404.57166, -1591.9426312.74263,   0.000000.000000.00000); 
    
Buracos[1] = CreateDynamicObject(36941371.67346, -1584.8596212.75022,   0.000000.000000.00000); 
    
Buracos[2] = CreateDynamicObject(36941336.20691, -1575.2362112.72780,   0.000000.000000.00000); 

Reply
#3

Como seus objetos estгo em CreateDynamicObject, vк se dб certo colocando:
PHP код:
SetDynamicObjectMaterial( ... ); 
Reply
#4

SetDynamicObjectMaterial(Ruadestruidas[0], 0, 13871, "lahills_border1", "sw_rockgrassB2", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[0], 1, 13871, "lahills_border1", "sw_rockgrassB2", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[0], 2, 13871, "lahills_border1", "sw_rockgrassB2", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[0], 3, 13871, "lahills_border1", "sw_rockgrassB2", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[0], 4, 13871, "lahills_border1", "sw_rockgrassB2", 0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[0], 5, 13871, "lahills_border1", "sw_rockgrassB2", 0xFFFFFFFF);

pq essa textura n pega ? eu qria uma textura de terraaa
Reply
#5

Estб tudo como 0

Tente assim

PHP код:
SetDynamicObjectMaterial(Ruadestruidas[0], 013871"lahills_border1""sw_rockgrassB2"0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[1], 113871"lahills_border1""sw_rockgrassB2"0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[2], 213871"lahills_border1""sw_rockgrassB2"0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[3], 313871"lahills_border1""sw_rockgrassB2"0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[4], 413871"lahills_border1""sw_rockgrassB2"0xFFFFFFFF);
SetDynamicObjectMaterial(Ruadestruidas[5], 513871"lahills_border1""sw_rockgrassB2"0xFFFFFFFF); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)