SetObjectMaterial prolem
#2

Read this: https://sampforum.blast.hk/showthread.php?tid=331497

Код:
stock AnotherStock( )
{
    SetObjectMaterial( variable[ 0 ], 0, 10972, "groundbit_sfse", "desgreengrass", 0 );
    SetObjectMaterial( variable[ 1 ], 1, 10972, "groundbit_sfse", "desgreengrass", 0 );
    SetObjectMaterial( variable[ 2 ], 2, 10972, "groundbit_sfse", "desgreengrass", 0 );
    SetObjectMaterial( variable[ 3 ], 3, 10972, "groundbit_sfse", "desgreengrass", 0 );
    SetObjectMaterial( variable[ 4 ], 4, 10972, "groundbit_sfse", "desgreengrass", 0 );
    SetObjectMaterial( variable[ 5 ], 5, 10972, "groundbit_sfse", "desgreengrass", 0 );
    SetObjectMaterial( variable[ 6 ], 6, 10972, "groundbit_sfse", "desgreengrass", 0 );
}
The numbers in bold are the problem. You can try them all as 0 (zero) but each index changes for each object.
Reply


Messages In This Thread
SetObjectMaterial problem - by zgintasz - 11.04.2012, 14:03
Re: SetObjectMaterial prolem - by Psymetrix - 11.04.2012, 14:11
Re: SetObjectMaterial prolem - by zgintasz - 11.04.2012, 15:21
Re: SetObjectMaterial prolem - by zgintasz - 11.04.2012, 16:35
Re: SetObjectMaterial prolem - by Manuel_P - 11.04.2012, 17:14
Re: SetObjectMaterial prolem - by Psymetrix - 11.04.2012, 17:42
Re: SetObjectMaterial prolem - by zgintasz - 11.04.2012, 18:18
Re: SetObjectMaterial prolem - by Lorenc_ - 13.04.2012, 05:02

Forum Jump:


Users browsing this thread: 1 Guest(s)