Author Topic: vignette and droping problems (SOLVED)  (Read 2149 times)

Just do this:
Code: [Select]
if($Sky::VignetteColor !$= "")
%vignetteColor = $Sky::VignetteColor;
else
%vignetteColor = "0 0 0 0";


Pretty sure you should be using $Sky:: and not $EnvGuiServer::

aight, ill try that out just as soon as i can get on my computer...

in the mean time, is there any reason that when a weapon is dropped its image will still be in the players hand? because im also having that problem...

if you want to know what i mean there's a beta download here that will have the glitch:
http://forum.blockland.us/index.php?topic=264203.0

it mostly happens when the weapon is out of ammo and you try to drop it.

Package the dropping function and remove it from ones hand for a fix?

Package the dropping function and remove it from ones hand for a fix?

yep ^^^ thanks!

EDIT: i think i figured out what was fixing the drop function for custom gamemode... im testing it now, but im pretty sure its gsf's backpack mod.

ANOTHER EDIT: yep, leave it to gsf to fix my addons on accident, i added (and simplified) the code for use on my weps, for anyone who's interested (or having a similar problem) here it is:

Code: [Select]
//drop debug
function serverCmddropTool(%client, %slot)
{
%player = %client.player;
if(isObject(%player))
{
%client.player.unMountImage(0);
parent::serverCmddropTool(%client, %Slot);
}
}

 
Just do this:
Code: [Select]
if($Sky::VignetteColor !$= "")
%vignetteColor = $Sky::VignetteColor;
else
%vignetteColor = "0 0 0 0";


Pretty sure you should be using $Sky:: and not $EnvGuiServer::
i almost forgot about this, what you said works, but has the same results as before, not recegnising the A value of RGBA, but no big deal, its minor, im using $sky now, just because im too lazy to change it back and it really is no different from $EnvGuiServer...
« Last Edit: August 13, 2014, 12:16:53 AM by zombekillz »

actually managed to finish the pack thanks to you guys :P
http://forum.blockland.us/index.php?topic=261467.0

locking...