Weapon tint hex looks like GOLD
#1

I wanna make weapon tint like a server i used to play and closed...

It's just:
PHP Code:
SetPlayerAttachedObject(playerid2GetWeaponModel(wp2), 8, -0.079999, -0.0399990.109999, -90.1000060.0000000.0000001.0000001.0000001.000000,WPCOLOR_GOLD,WPCOLOR_GOLD); 
I made all good colors, but gold, i cant found a fucking HEX good to looks like on this img in the end of topic

Every yellow i put looks like shit, is anybody can help me with a #define WPCOLOR_GOLD 0x to looks like the img?

Reply
#2

try 0xFFFFFF2D, there is that bug with changing object colors though, sometimes the color is darkened.
Reply
#3

Quote:
Originally Posted by MEGADETHS
View Post
try 0xFFFFFF2D, there is that bug with changing object colors though, sometimes the color is darkened.
Ty to try help, but still bad
Look:
Reply
#4

You can put gold color on uzis, because they're white, but you can't on m4a4, because it's black... Because for example if you write: 0xFF00FFFF (ARGB) it will remove red from your weapon color, but in black there's no red already...
Reply
#5

Quote:
Originally Posted by MEGADETHS
View Post
try 0xFFFFFF2D, there is that bug with changing object colors though, sometimes the color is darkened.
The colour is often darkened because of the weapon used. The M4 is a black weapon which means it'll be darker than a TEC-9 or UZI for example which are, of course, white/light grey.
Reply
#6

Quote:
Originally Posted by Proxus
View Post
The colour is often darkened because of the weapon used. The M4 is a black weapon which means it'll be darker than a TEC-9 or UZI for example which are, of course, white/light grey.
On this particular example yes, I thought he wanted to apply this color on UZI's, but there is that bug with changing the color of the objects texture, sometimes the color is either very bright or darkened and that bug has nothing to do with the already existing texture.
Reply
#7

But there isn't a way to make weapons like m4,ak,eagle looks like gold plated like on the img?

---
I gave 1 rep to both of you guys!
Reply
#8

Are you sure that's a player object?
Reply
#9

Quote:
Originally Posted by Kane_
View Post
Are you sure that's a player object?
I have no idea, i just played on that server
Playerobject is the only way i can think to do something like that, but i'm not a expert on samp stuff
Reply
#10

bump
Reply
#11

bump
Reply
#12

You're using mods. You can't complain about unintended behaviour when you're using modified files.

Secondly, he uses SetPlayerAttachedObject with a bright yellow/greenish tint. Try it out.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)