SA-MP Forums Archive
This tone of gold - 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: This tone of gold (/showthread.php?tid=651963)



This tone of gold - weex - 31.03.2018

There was a server i played they gave you the option to "tune" your weapon, make it gold-plated...

I trying to make like, but i never can set a good tone like was there, like you guys can see on img:
https://i.imgur.com/BU1Gtkq.png

The more closer i did was:
PHP код:
#define WPCOLOR_GOLD 0xFFFFAE1A // orange melhor (gold O: 0xFFFFD700)
SetPlayerAttachedObject(playerid2GetWeaponModel(wp2), 8, -0.079999, -0.0399990.109999, -90.1000060.0000000.0000001.0000001.0000001.000000,WPCOLOR_GOLD,WPCOLOR_GOLD); 
Is someone could help me to set a gold like the img?
https://i.imgur.com/BU1Gtkq.png


Re: This tone of gold - weex - 26.04.2018

bump


Re: This tone of gold - Maxandmov - 26.04.2018

Use any online color generator, or PAWNo color generator specifically (since it can take the color from any point on your screen). Usually that's enough.


Re: This tone of gold - weex - 28.04.2018

Quote:
Originally Posted by Maxandmov
Посмотреть сообщение
Use any online color generator, or PAWNo color generator specifically (since it can take the color from any point on your screen). Usually that's enough.
How to use the hexa:
#ffcc00