How change color transperent?
#6

You can use 255 * (percentage) in calculator and convert it to hex.
Example :
If you want 30%, you can use calculator and count "255 * 0.3" and convert it into hex.
Код:
SetPlayerMarkerVisibility(playerid, 0x4C); // 30% (255 * 0.3 = 76.5 (4c))
SetPlayerMarkerVisibility(playerid, 51); // 20% (255 * 0.2 = 51)
Reply


Messages In This Thread
How change color transperent? - by MerryDeer - 02.11.2016, 10:12
Re: How change color transperent? - by X337 - 02.11.2016, 10:29
Re: How change color transperent? - by MerryDeer - 02.11.2016, 11:45
Re: How change color transperent? - by X337 - 02.11.2016, 12:22
Re: How change color transperent? - by MerryDeer - 02.11.2016, 12:26
Re: How change color transperent? - by X337 - 02.11.2016, 12:33
Re: How change color transperent? - by MerryDeer - 02.11.2016, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)