Anyone know how to add emitters manually or how to make them change directions in the gani cause they only show one direction for me, i'm trying to make a bullet shell have particles it works but doesnt change direction for the different sides of the gani. So when i shoot left its in the same spot if i shoot right, i need it to have temp.1-1 (offset) temp1".1-2 (offset) i saw it done on era for the sparklers i made, im also working on a inventory gui so to save another help topic ill post it here. I dont know how to add text for one two make the equpped weapon show up on inventory as equipped and third make the weapons i have show up on the inventory, ill post the inventory script, but im new at scripts so i really need some help to make the gui work, ill update my post with the inventory script and pictures of what its suposto look like, like i said im new at scripting and need help
here is the inventory script (I haven't added much to it yet):
PHP Code:
//#CLIENTSIDE
function onCreated() {
enablefeatures(allfeatures-4);
if (isObject("Inventory_Screen")) {
Inventory_Screen.destroy();
Inventory_Screen1.destroy();
Inventory_Screen4.destroy();
Inventory_Screen5.destroy();
}
new GuiBitmapCtrl("Inventory_Screen") {
x = 250;
y = 280;
width = 892;
height = 352;
bitmap = "inventory-screen.png";
hide;
}
new GuiBitmapCtrl("Inventory_Screen1") {
x = 265;
y = 105;
width = 147;
height = 139;
bitmap = "inventory-screen1.png";
}
new GuiBitmapCtrl("Inventory_Screen4") {
x = 245;
y = 101;
width = 396;
height = 185;
bitmap = "inventory-screen4.png";
}
new GuiBitmapCtrl("Inventory_Screen5") {
x = 470;
y = 107;
width = 147;
height = 139;
bitmap = "inventory-screen5.png";
}
}
function onKeyPressed(code, key) {
if (key == "q") {
this.on = !this.on;
if (this.on) {
Inventory_Screen.visible = true;
Inventory_Screen1.visible = true;
Inventory_Screen4.visible = true;
Inventory_Screen5.visible = true;
} else {
Inventory_Screen.visible = false;
Inventory_Screen1.visible = false;
Inventory_Screen4.visible = false;
Inventory_Screen5.visible = false;
}
}
}
id also like a easier way to delete the screens and add them again, I didn't know how to put them all into one function to control all the different windows. Also I found this script on the forums, but I need a easier way to delete and open the inventory
heres what its suposto look like:
http://i42.tinypic.com/2l8ezv4.jpg
I don't know how to add the weapons into the screen, and make the equipped one show up above near the character screen I'm using a few inventory scripts I found but I can't make sense of the code. It looks like this
PHP Code:
iWeps.clear();
for ( temp.a : player.weapons )
{
temp.n = temp.a.name;
if ( ! temp.n.starts( "-" ) )
{
iWeps.add( temp.a );
}
}
and I can't make sense of the code to reuse it on mine. Inventory gui's are to advanced for me to make with my level of skill.
This is the inventory I'm using to make mine, it's a full inventory script if anyone needs it. I didn't make this, and I can't really use it to help me because the scripts are too advanced like I said