![]() |
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. |
That ish bad =/ But you should use two different indexes, perhaps that is where your problem lies?
---Shifter |
Eek, of course I used two different indexes. Just not when "scripting" that little example. :(
|
showimg2
The problem could always be that "showimg2" doesn't work the same as "showimg", as do you know if anything below 200 is a thing everyone can see, or is that a command difference? Maybe a programming problem caused above 200 to be everyone-visible? I don't know, but experiment with the Z position aswell as image IDs.
|
How did they do it on 2k2 then? i can see other peoples footsteps
|
Psycho_Goldfish42: If I use showimg2 two times, it is always displayed to other players. Just the Z-thing does not work.
Robin: As far as I know, every client showimgs those footsteps locally. showimg2 does not work on gmaps at all... |
Works fine for me:
NPC Code: |
Quote:
|
Well its proof that showimg2 works on gmaps isnt it?
|
I wasn't clear enough x.x
Stefan and me run around on a gmap and did not see each other's showimg. So I mean, those are not sent to other players on gmaps at all, not just missing the z information. |
Re: showimg2
Quote:
|
I start to realize I used a very bad example. :(
Yes, Com, I am sure it is showimg both images. |
Quote:
|
All times are GMT +2. The time now is 05:15 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.