2D array with strings
PHP Code:
|
Re: 2D array with strings
103 is the letter 'g'. Whatever you are doing, you are not treating it as a string but instead as an integer. You need to use it as a string.
|
Re: 2D array with strings
Sorry, my bad. I should never code when I need to sleep that bad, was using %d instead of %s.
Another question, how to display .tga image in motd? It seems I can't :/ |
Re: 2D array with strings
Quote:
|
Re: 2D array with strings
Well, I would like to use gfx\vgui images to show who killed that person via motd. It would need too much resource for every weapon :/
|
Re: 2D array with strings
As far as I know, tga files are only rendered by the game. The MOTD is not part of the game (in this sense), it's a web browser.
|
Re: 2D array with strings
if you want to show tga file in game,i think you need to use ACG.dll or metahook.dll.it 's easier and more convenient to use ACG than metahook. to get ACG,u can get into the website "http://lolifun.net/en/index.html" to download it
|
Re: 2D array with strings
I need to show it in motd, not in game itself. Now I know that HTML can't show TGA images, but then again, is there other local storage place for CS weapon images that could be used in MOTD?
|
Re: 2D array with strings
maybe the following code is what you need.
Code:
"Resource/UI/MOTD.res"Quote:
|
| All times are GMT -4. The time now is 06:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.