Raised This Month: $ Target: $400
 0% 

[REQ] /boost command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Siska1
Senior Member
Join Date: Feb 2020
Location: BedRock
Old 05-04-2022 , 07:19   Re: [REQ] /boost command
Reply With Quote #1

How do I make a chat message display my IP ?
__________________
Siska1 is offline
Send a message via Skype™ to Siska1
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 05-04-2022 , 17:33   Re: [REQ] /boost command
Reply With Quote #2

Quote:
Originally Posted by Siska1 View Post
How do I make a chat message display my IP ?
PHP Code:
new ip[32]
get_user_ip(0ipcharsmax(ip))

CromChat(0"%s this is your ip"ip
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 05-06-2022 , 22:20   Re: [REQ] /boost command
Reply With Quote #3

Quote:
Originally Posted by Nutu_ View Post
PHP Code:
new ip[32]
get_user_ip(0ipcharsmax(ip))

CromChat(0"%s this is your ip"ip
He said "my IP" and not the server IP, so it should be:
PHP Code:
get_user_ipid /*Client id*/ipcharsmax(ip), /*Without port*/
More info: http://www.amxmodx.org/api/amxmodx/get_user_ip
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 05-06-2022 at 22:21.
Supremache is offline
Reply


Thread Tools
Display Modes

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:26.


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