AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Placing Hud Messages (https://forums.alliedmods.net/showthread.php?t=155677)

Dr7sTyLe 04-25-2011 09:55

Placing Hud Messages
 
i have this script for days that shows some days, but when i checked it on my server the hud message is being showed on the middle of the screen, but i want it to be like this:
http://i52.tinypic.com/2z56m2o.jpg
this is my the script:
PHP Code:

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "JailBreak | Days"
#define VERSION "1.0"
#define AUTHOR "@Rabb[i]T-`"

new menu_wakeup=0

public plugin_init() {
register_plugin(PLUGINVERSIONAUTHOR)

register_logevent("logevent_round_start"2"1=Round_Start"
}


public 
logevent_round_start()
{
new 
wakeup[100]
menu_wakeup menu_wakeup 

if(menu_wakeup == 1)
formatex(wakeup99 "Today is Sunday^n[Jailbreak]"

else if(
menu_wakeup == 2
formatex(wakeup99 "Today is Monday^n[Jailbreak]"

else if(
menu_wakeup == 3
formatex(wakeup99 "Today is Tuesday^n[Jailbreak]"

else if(
menu_wakeup == 4
formatex(wakeup99 "Today is Wednesday^n[Jailbreak]"

else if(
menu_wakeup == 5
formatex(wakeup99 "Today is Thursday^n[Jailbreak]"

else if(
menu_wakeup == 6
formatex(wakeup99 "Today is Friday^n[Jailbreak]"

else if(
menu_wakeup == 7)
formatex(wakeup99 "Today is Saturday^n[Jailbreak]"


set_hudmessage000, -1.00.4023.08.00.00.010);
show_hudmessage(0"%s",wakeup



bibu 04-25-2011 10:02

Re: Placing Hud Messages
 
Try to play with the coordinates yourself?

Try:

PHP Code:

set_hudmessage000, -1.00.7023.08.00.00.010); 


Dr7sTyLe 04-25-2011 10:25

Re: Placing Hud Messages
 
Quote:

Originally Posted by bibu (Post 1457428)
Try to play with the coordinates yourself?

Try:

PHP Code:

set_hudmessage000, -1.00.7023.08.00.00.010); 


i dont now what this number says,but can you move it a little bit more down ?

SonicSonedit 04-25-2011 10:36

Re: Placing Hud Messages
 
0.70 is Y (height) coordinates. Try changing it yourself.
If you are not scripter and not going to be one, just ask any freelance scripter to help you for 1$, they will fix it for ya.
This forum is for scripters to help other scripters, not creating/fixing plugins for free for random people.

Dr7sTyLe 04-25-2011 10:42

Re: Placing Hud Messages
 
Quote:

Originally Posted by SonicSonedit (Post 1457444)
0.70 is Y (height) coordinates. Try changing it yourself.
If you are not scripter and not going to be one, just ask any freelance scripter to help you for 1$, they will fix it for ya.
This forum is for scripters to help other scripters, not creating/fixing plugins for free for random people.

ok so define me some random people :D

ty i fixed it already

bibu 04-25-2011 10:42

Re: Placing Hud Messages
 
Quote:

Originally Posted by Dr7sTyLe (Post 1457435)
i dont now what this number says,but can you move it a little bit more down ?

I did it already, just replace it.

ConnorMcLeod 04-25-2011 10:57

Re: Placing Hud Messages
 
Stop deleting your posts after you have received help.
If you want code to be kept private, don't post it at all.


All times are GMT -4. The time now is 19:49.

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