well i thought as noone sets the invisp value we could include it at the roundstart event or player_spawn event in the mod itself. i would do it myself but i dunno where to put it
the following is the mathematik way to get the % out of the alpha value
es_xmath wcs_tmp float;es_xmath wcs_tmp / -2.55;es_xmath wcs_tmp + 100;es est_rounddecimal wcs_tmp server_var(wcs_tmp) 0;es es_xkeysetvalue WCSuserdata event_var(userid) invisp server_var(wcs_tmp)
now comes the problem -> is there any command to get the alpha value of the color a player has?
if not could we create one that stores just the alpha value of a player into a var ?
greez mobsi






Germany
Logged
United States

