SetObjectMaterial help
#1

Alright so when i re texture all the idx'es of one object lets say 5 in tetxure editor ([HLF]Southclaw's Texture Workshop V1.0 )
then i add code ig not all changed textures will show only 1-2 changed idx'es will show not all 5 any idea why?
for an example
pawn Код:
CMD:test(playerid, params[])
{
    new yourobject3;
   
       
           yourobject3 = CreateObject(16149, -175.98, 1361.77, 40.97,   0.00, 0.00, 0.00);
           SetObjectMaterial(yourobject3, 0, 16149, "libertyhi", "Grass", 0); //this shows
       SetObjectMaterial(yourobject3, 2, 16149, "libertyfar", "Grass_128HV", 0); //this wont show
       SetObjectMaterial(yourobject3, 3, 16149, "libertyhi", "Grass", 0);  //this wont show
       SetObjectMaterial(yourobject3, 4, 16149, "libertyhi", "Grass", 0);  //this wont show

    return 1;
}
Reply
#2

Bump
Reply
#3

bump , sorry for bump
Reply
#4

You can't bump before 48 hours. Re-read the rules.

-FalconX
Reply
#5

try this
pawn Код:
CMD:test(playerid, params[])
{
    new yourobject3;
   
       
           yourobject3 = CreateObject(16149, -175.98, 1361.77, 40.97,   0.00, 0.00, 0.00);
           SetObjectMaterial(yourobject3, 0, 16149, "libertyhi", "Grass", 0); //this shows
           SetObjectMaterial(yourobject3, 2, 16149, "libertyfar", "Grass_128HV", 0); //this wont show
           SetObjectMaterial(yourobject3, 3, 16149, "libertyhi", "Grass", 0);  //this wont show
           SetObjectMaterial(yourobject3, 4, 16149, "libertyhi", "Grass", 0);  //this wont show

    return 1;
}
Reply
#6

Quote:
Originally Posted by HDFord
Посмотреть сообщение
try this
pawn Код:
CMD:test(playerid, params[])
{
    new yourobject3;
   
       
           yourobject3 = CreateObject(16149, -175.98, 1361.77, 40.97,   0.00, 0.00, 0.00);
           SetObjectMaterial(yourobject3, 0, 16149, "libertyhi", "Grass", 0); //this shows
           SetObjectMaterial(yourobject3, 2, 16149, "libertyfar", "Grass_128HV", 0); //this wont show
           SetObjectMaterial(yourobject3, 3, 16149, "libertyhi", "Grass", 0);  //this wont show
           SetObjectMaterial(yourobject3, 4, 16149, "libertyhi", "Grass", 0);  //this wont show

    return 1;
}
What have you changed in this ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)