How to put interiorid in a Object Material?
#1

Hello, I have been coding this morning (PH Time), and I've also search it here and in ******, but I cannot see any solution for my problem, My problem was on how to put an interiorid in my ObjectMaterial?

like what my code have
Код:
SewerWall(19447, 2817.83130, 2673.74561, 9.79898,   0.00000, 0.00000, 90.00000, .interiorid = 1);
Everytime I will comply that it goes error.

Код:
\Server\filterscripts\mapnibok2.pwn(13622) : error 017: undefined symbol "interiorid"
\Server\filterscripts\mapnibok2.pwn(13622) : error 029: invalid expression, assumed zero
\Server\filterscripts\mapnibok2.pwn(13622) : warning 215: expression has no effect
But if I will try only the CreateObject, It worked.
Код:
CreateObject(19447, 2817.83130, 2673.74561, 9.79898,   0.00000, 0.00000, 90.00000, .interiorid = 1);
Any solution for my problem? TIA, that who can help me with this..
Reply
#2

Hello!

You have to use the streamer of incognito, so that you can set the interiorid of the object.
Reply
#3

This is not how SetObjectMaterial() works at all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)