Raised This Month: $ Target: $400
 0% 

Placing Hud Messages


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dr7sTyLe
Senior Member
Join Date: Dec 2010
Old 04-25-2011 , 09:55   Placing Hud Messages
#1

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:

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


Last edited by Arkshine; 04-25-2011 at 11:14.
Dr7sTyLe is offline
 



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 19:49.


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