Raised This Month: $ Target: $400
 0% 

HUD coordinates


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
killergirl
Senior Member
Join Date: Jul 2010
Old 03-19-2011 , 05:24   HUD coordinates
Reply With Quote #1

I'm writing a new plugin wich will show a welcome message in HUD. In the past I have used HUD, I know how to set and use, but the problem is with hud coordinates. I don't know how much is a unit, and actually how does it look the f(x) function. Did I put in a wrong place the f(x) function?

PHP Code:
set_hudmessage(___XY______
[IMG]http://img821.**************/img821/5003/coor.png[/IMG]
killergirl is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 03-19-2011 , 05:26   Re: HUD coordinates
Reply With Quote #2

use stewie's hud generator or default one from amxmodxstudio
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
mammapappa
Member
Join Date: Nov 2008
Old 03-19-2011 , 05:31   Re: HUD coordinates
Reply With Quote #3

Quote:
Originally Posted by tuty View Post
use stewie's hud generator or default one from amxmodxstudio
mammapappa is offline
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 03-19-2011 , 07:15   Re: HUD coordinates
Reply With Quote #4

Quote:
Originally Posted by tuty View Post
default one from amxmodxstudio
im using it too !
__________________
vato loco [GE-S] is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-19-2011 , 08:10   Re: HUD coordinates
Reply With Quote #5

Coords go from 0.0 to 1.0, 0.0 is the left top corner, 1.0 if right for x and bottom for y.
-1.0 makes it to be centered.
Attached Thumbnails
Click image for larger version

Name:	dd.jpg
Views:	1600
Size:	88.9 KB
ID:	83819  
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 14:40.


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