![]() |
Showimg not working...
This has been bothering me...showimg is being weird with indexes under 200.
Sometimes the images show, sometimes they dont...they always show for the client, but not for other players. Some images do work however, such as block.png and bomb.png. Heres the script. PHP Code:
I uploaded light4.png to the server, so I dont know what the problem is. If I change it to say...block.png, the it shows perfectly fine. However, I had a for() loop of 20 images showing, all of them showed for the client, and some actually showed on the other player... So, its being really weird, and I have no clue what to do. -_- (It was doing this on Dev mxo312, and also on N-Pulse, from what I tested) |
There's a limit to the size of an image that can be shown on clientside to other players. This is to prevent people from displaying a tileset or another large image.
I suggest you use player.attr and a GANI script. |
Wow. Since when? Because, I know for a fact i've shown lights like that before...
Thanks. |
Quote:
|
I don't think the image size limit is the problem here. It's just most likely acting up because all the players having the showimg displaying index < 200 (which means show on all clients) probably tries to overwrite each other.
If all the players are running this weapon then I would just say use an index above 200 (with a loop on the players). |
Quote:
It just seems like theres a data limit for this.. I resized the image, and it will only show a certain ammount. After it reaches that ammount, it just stops showing. lol |
Quote:
You could do it like this: PHP Code:
|
Quote:
|
All times are GMT +2. The time now is 09:16 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.