Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP
Bug Reports
Threaded Mode
Bug with SetObjectMaterial
MP2
Godfather
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
#1
28.06.2012, 13:30
If you set one of the material indexes invisible (color 0x00FFFFFF) the rest of the object becomes very dark. Could this please be fixed?
Find
Reply
Basssiiie
Gangsta
Posts: 758
Threads: 7
Joined: Mar 2011
Reputation:
0
#2
29.06.2012, 00:53
This problem didn't occur to me. I used this:
Код:
SetDynamicObjectMaterial(objectid, 1, 0, "none", "none", 0);
Works perfectly fine for me, I use it on several objects.
I'm sure the normal version works pretty much the same.
Find
Reply
MP2
Godfather
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
#3
29.06.2012, 03:13
Perfect, thanks so much. There's still major problems with the 'color' parameter though. It doesn't work as it should.
Find
Reply
Basssiiie
Gangsta
Posts: 758
Threads: 7
Joined: Mar 2011
Reputation:
0
#4
29.06.2012, 12:38
It's just set up weirdly. Normal colors are RGBA, object colors are ARGB. The alpha is before the colors, instead of behind it.
Find
Reply
MP2
Godfather
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
#5
29.06.2012, 13:43
I know that.
Find
Reply
Basssiiie
Gangsta
Posts: 758
Threads: 7
Joined: Mar 2011
Reputation:
0
#6
29.06.2012, 16:00
Well, I haven't experienced any problems with the material colors yet, so I'm not sure where these problems should be.
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP
Bug Reports