How to put interiorid in a Object Material? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to put interiorid in a Object Material? (
/showthread.php?tid=573397)
How to put interiorid in a Object Material? -
MOSensei - 07.05.2015
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..
AW: How to put interiorid in a Object Material? -
Mencent - 07.05.2015
Hello!
You have to use the streamer of incognito, so that you can set the interiorid of the object.
Re: How to put interiorid in a Object Material? -
Pottus - 07.05.2015
This is not how SetObjectMaterial() works at all.