AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   how to make this (https://forums.alliedmods.net/showthread.php?t=188855)

samer 123 07-01-2012 06:08

how to make this
 
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

<VeCo> 07-01-2012 06:24

Re: how to make this
 
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.

samer 123 07-01-2012 06:29

Re: how to make this
 
can you make it please

<VeCo> 07-01-2012 06:32

Re: how to make this
 
Quote:

Originally Posted by samer 123 (Post 1740299)
can you make it please

What exactly you want to show and when??

samer 123 07-01-2012 06:35

Re: how to make this
 
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

<VeCo> 07-01-2012 06:58

Re: how to make this
 
1 Attachment(s)
Tested and works.

samer 123 07-01-2012 09:42

Re: how to make this
 
i think that country and personal info not working :(

pokemonmaster 07-01-2012 12:40

Re: how to make this
 
Try enabling the GeoIP module from moduls.ini in the configs folder. (enable it by removing ;)


All times are GMT -4. The time now is 23:56.

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