Raised This Month: $ Target: $400
 0% 

how to make this


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 07-01-2012 , 06:08   how to make this
Reply With Quote #1

how to make %s to show his name

another %s show his ip

another %s show his steam id

another %s show current map

another %s show his nextmap

another %s show timeleft

another %s show his country

in a hud message

thanks
samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-01-2012 , 06:24   Re: how to make this
Reply With Quote #2

For ip use get_user_ip(...).
For steamid use get_user_authid(...).
For currentmap use get_mapname(...).
For nextmap get the value of amx_nextmap CVAR.
For timeleft use get_timeleft().
For country use geoip_country(...) from the geoip module.

Or you can tell when exactly you want to show that message and I'll make it.
__________________
<VeCo> is offline
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 07-01-2012 , 06:29   Re: how to make this
Reply With Quote #3

can you make it please
samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-01-2012 , 06:32   Re: how to make this
Reply With Quote #4

Quote:
Originally Posted by samer 123 View Post
can you make it please
What exactly you want to show and when??
__________________
<VeCo> is offline
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 07-01-2012 , 06:35   Re: how to make this
Reply With Quote #5

permanently msg

under radar

and all the info above

%s to show his name

another %s show his ip

another %s show his steam id

another %s show current map

another %s show his nextmap

another %s show timeleft

another %s show his country
samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 07-01-2012 , 06:58   Re: how to make this
Reply With Quote #6

Tested and works.
Attached Files
File Type: sma Get Plugin or Get Source (perm_info_hud.sma - 541 views - 2.3 KB)
__________________
<VeCo> is offline
samer 123
BANNED
Join Date: Aug 2010
Location: palestine
Old 07-01-2012 , 09:42   Re: how to make this
Reply With Quote #7

i think that country and personal info not working
samer 123 is offline
Send a message via MSN to samer 123 Send a message via Skype™ to samer 123
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 07-01-2012 , 12:40   Re: how to make this
Reply With Quote #8

Try enabling the GeoIP module from moduls.ini in the configs folder. (enable it by removing ;)
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster 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 07:41.


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