- I have this code
PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <hamsandwich>
#include <xs>
#define PLUGIN "Test"
#define VERSION "1.0"
#define AUTHOR "author"
new g_spr_id
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /test", "test")
}
public plugin_precache()
{
g_spr_id = precache_model("sprites/biohazard/zb_confuse.spr")
}
public test(id)
{
message_begin(MSG_BROADCAST, SVC_TEMPENTITY, _, id)
write_byte(TE_PLAYERATTACHMENT)
write_byte(id)
write_coord(45)
write_short(g_spr_id)
write_short(10 * 10)
message_end()
}
- But the show spr is not transparent. I want it to transparent, but i don't know how to do that, someone tell me how to do it of how to make sprites transparent
[IMG]http://img85.**************/img85/6287/29514184.png[/IMG]