hi , i have 2 sprites one X and another one Y
and i have this code
PHP Code:
new weaponid = get_user_weapon(id);
message_begin(MSG_ALL, SVC_TEMPENTITY);
write_byte(TE_PLAYERATTACHMENT);
write_byte(id);
write_coord(60);
switch(weaponid)
{
case CSW_P228:
write_short(spriteY);
case CSW_SCOUT:
write_short(spriteX);
}
write_short(100);
message_end();
but doesn't work.. some ideas? :d
__________________