Raised This Month: $ Target: $400
 0% 

how can i get input like hud message?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 07-06-2012 , 17:25   Re: how can i get input like hud message?
Reply With Quote #6

Quote:
Originally Posted by mi1s0n View Post
1 - how can I get user input like username and password in a manner like hud message at the left of the screen?
Use messagemode to take user input or a console command

Quote:
I think I have to detect user's pressed keys and print them on screen while ENTER key has not been pressed
Not possible

Quote:
2 - how can I get the winner team after round ends?is there any functions?
Search

Quote:
3 - how can I show a hud message when a user connects?
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "mi1s0n"
#define VERSION "1.0"
#define AUTHOR "Milad Doorbash"



public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)    
}

public 
client_putinserver(id)
{
    
set_task(10.0"showHud"id)
}

public 
showHud(id)
{
    
set_hudmessage(255255420.020.4706.012.0)
    
show_hudmessage(id"your id is  : %d",id)

__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 15:19.


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