AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   HUD coordinates (https://forums.alliedmods.net/showthread.php?t=153126)

killergirl 03-19-2011 05:24

HUD coordinates
 
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]

tuty 03-19-2011 05:26

Re: HUD coordinates
 
use stewie's hud generator or default one from amxmodxstudio

mammapappa 03-19-2011 05:31

Re: HUD coordinates
 
Quote:

Originally Posted by tuty (Post 1435687)
use stewie's hud generator or default one from amxmodxstudio


vato loco [GE-S] 03-19-2011 07:15

Re: HUD coordinates
 
Quote:

Originally Posted by tuty (Post 1435687)
default one from amxmodxstudio

im using it too !

ConnorMcLeod 03-19-2011 08:10

Re: HUD coordinates
 
1 Attachment(s)
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.


All times are GMT -4. The time now is 14:40.

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