This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Check screen resolution user


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 01-25-2016 , 21:05   Check screen resolution user
Reply With Quote #1

Hi ...

It is possible to do this?

Check screen resolution user in a if (640x480, 800x600, 1024x768...)
mlibre is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-25-2016 , 21:35   Re: Check screen resolution user
Reply With Quote #2

It's not possible.

What are you trying to do? There are usually better ways to get what you want. You just have to explain what exactly you attempting to do.
__________________

Last edited by fysiks; 01-25-2016 at 21:37.
fysiks is online now
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 01-26-2016 , 16:38   Re: Check screen resolution user
Reply With Quote #3

when insert the "hud message" to the right exactly where the money goes, users with lower resolutions, see the message in another position



then I look for a way to do something like ... perhaps, is crazy do this

PHP Code:
if(is_user_screen(id) == 640x480)

set_hudmessage(025500.990.8001.01.00.10.2, -1)

ShowSyncHudMsg(idmyhud"Frags: %d^nRank: %s^nMoney: %d"frags[id], rank[id], cs_get_user_money(id))

else if (
is_user_screen(id) == 1024x768)

set_hudmessage(025500.990.8801.01.00.10.2, -1)

ShowSyncHudMsg(idmyhud"Frags: %d^nRank: %s^nMoney: %d"frags[id], rank[id], cs_get_user_money(id)) 
mlibre is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-26-2016 , 19:48   Re: Check screen resolution user
Reply With Quote #4

Both of those images look fine to me. I don't see any reason to move it.
__________________
fysiks is online now
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 01-27-2016 , 13:27   Re: Check screen resolution user
Reply With Quote #5

but it would be better if everyone see the message in the same position, as the image of the green box, it is the lowest resolution, and on the right it is 1024
mlibre is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 01-27-2016 , 15:49   Re: Check screen resolution user
Reply With Quote #6

Quote:
Originally Posted by fysiks View Post
Both of those images look fine to me. I don't see any reason to move it.
redivcram is offline
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 01-27-2016 , 15:52   Re: Check screen resolution user
Reply With Quote #7

Quote:
Originally Posted by mlibre View Post
but it would be better if everyone see the message in the same position, as the image of the green box, it is the lowest resolution, and on the right it is 1024
give us all the code and maybe some one can help you... no body is going take your credits...
JoaoVieira is offline
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 01-29-2016 , 03:52   Re: Check screen resolution user
Reply With Quote #8

The new counter strike steam (i mean last updates) its auto checking hud_messages (cannot be outscreen) :p
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode