Thread: showimg2
View Single Post
  #1  
Old 09-10-2002, 10:12 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
showimg2

The showimg2 command allows NPCs to display an image in "3d space", using an x, y and z coordinate. But there is a big flaw with it - the Z coordinate is not sent to other players (at least when used in weapons).
To test it:
//#CLIENTSIDE
if (playerchats && strequals(#c,show bug)) {
showimg 0,@X,30,30;
showimg2 0,@X,30,30,5;
}
You will see 2 Xs: one on 30/30, and one above it.
But every other player will only see one, because they are displayed on the same position.
Reply With Quote