Raised This Month: $ Target: $400
 0% 

Ip


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Merc3y
Member
Join Date: Dec 2009
Old 06-10-2010 , 10:50   Re: Ip
Reply With Quote #1

Quote:
Originally Posted by Bugsy View Post
Sorry, that error is a result of a typo; I corrected the above code. For the name variable, remove the quotes or use as wrecked shows above.
I meant ip. how do i put the ip in the print ? using what ? %d ?
__________________
How I Wish That I Can Host Without Any Problem.
Merc3y is offline
RedRobster
Veteran Member
Join Date: Apr 2010
Location: Your Closet
Old 06-10-2010 , 00:55   Re: Ip
Reply With Quote #2

You are trying to make people lag in your own server? Isn't that kind of counterintuitive?
RedRobster is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 06-10-2010 , 07:05   Re: Ip
Reply With Quote #3

PHP Code:
client_print(id,print_chat"%s"namerandomsizeofname ) ) ] ) 
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-10-2010 , 11:04   Re: Ip
Reply With Quote #4

http://www.cplusplus.com/reference/c...cstdio/printf/

Most of them are available in Pawn's format command. They behave the same way.
__________________
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
Merc3y
Member
Join Date: Dec 2009
Old 06-12-2010 , 09:13   Re: Ip
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
http://www.cplusplus.com/reference/c...cstdio/printf/

Most of them are available in Pawn's format command. They behave the same way.
use which one ?

I try to use d and p doesn't work.
__________________
How I Wish That I Can Host Without Any Problem.
Merc3y is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-12-2010 , 13:39   Re: Ip
Reply With Quote #6

Quote:
Originally Posted by Merc3y View Post
use which one ?

I try to use d and p doesn't work.
The IP is in a string so use "%s"
__________________
fysiks is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-12-2010 , 13:43   Re: Ip
Reply With Quote #7

Quote:
Originally Posted by Merc3y View Post
use which one ?

I try to use d and p doesn't work.
%s = string (text)
%d = integer
%f = float
__________________
Bugsy is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 06-10-2010 , 11:47   Re: Ip
Reply With Quote #8

Quote:
Originally Posted by Merc3y View Post
How do I get other ip ?

as in how do i find their ip address?

however, is it possbile to cause a person lag without crashing server?
It is just sad when you are creating plugins in terms of trying to destroy them over the internet.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
FlyingHorse
Senior Member
Join Date: Apr 2010
Location: Under your bed.
Old 06-10-2010 , 12:57   Re: Ip
Reply With Quote #9

to make them lag do this marcy or wtf it is
client_cmd(id, "heartbeat")
FlyingHorse is offline
Send a message via Skype™ to FlyingHorse
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 05:21.


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