![](img/smiles/talk.gif)
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
Super Armor GFX
7 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
![](img/smiles/talk.gif)
*/gfx/weapons/superarmor_d.bmp
*/gfx/weapons/superarmor.bmp
However if you want to change it server-sided--that's a bit difficult.
Potentially what you want to achieve is an image following the player and rotating.
![cs2d lua hook](img/i_codehelp.png)
![cs2d lua hook](img/i_codehelp.png)
![cs2d lua cmd](img/i_codehelp.png)
You just need to place an image when the player picks up super-armor (83).
The image has 4 parameters.
![>](img/i_next.png)
![>](img/i_next.png)
![>](img/i_next.png)
![>](img/i_next.png)
When your script is done make sure to add your custom image into "sys/servertransfer.cfg".
Good Luck
![√](img/ok.gif)
@DaKnOb
It means if you pick Super armor theres a GFX like weiwen's turso.
![user](img/i_friend.png)
![](img/smiles/veryfrightened.gif)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
armorimg={} for i=1,32 do armorimg[i]=0 end addhook("ms100","checkforarmor") function checkforarmor() for _,i in ipairs(player(0,"tableliving")) do if (player(i,"armor")==205 and armorimg[i]==0) then armorimg[i]=image("whateveryourimageis",1,0,200+i) else if (armorimg[i]~=0) then freeimage(armorimg[i]) armorimg[i]=0 end end end end
Eh. There shouldn't be any bugs but if there are, tell me.
I used the ms100 hook to be certain that a player has the super armor, and to account for the setarmor function. It can be done via collect/walkover hooks too.
![user](img/i_friend.png)
1
armorimg={}
Yes, you will put the image of the armor in that table, as I showed here:
![user](img/i_friend.png)
1
armorimg[i]=image("whateveryourimageis",1,0,200+i)
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)