Raised This Month: $51 Target: $400
 12% 

[HELP] Read 10 integers from client


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 04-14-2018 , 14:21   [HELP] Read 10 integers from client
Reply With Quote #1

I want to get / read 10 digits ( e.g: 987654321 ) from client
I want to find length of the digits.
How could i do that?
__________________

Last edited by CrAzY MaN; 04-15-2018 at 00:18.
CrAzY MaN is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-14-2018 , 14:29   Re: [HELP] Read 10 integers from client
Reply With Quote #2

What do you mean "from client"?
__________________
klippy is offline
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 04-14-2018 , 14:37   Re: [HELP] Read 10 integers from client
Reply With Quote #3

I mean in menu, suppose i press "x", client should write 10 integers.

Like message_mode
__________________
CrAzY MaN is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 04-14-2018 , 14:46   Re: [HELP] Read 10 integers from client
Reply With Quote #4

Basically create a clcmd.
Same for the menu.
Then on menu handler execute from client_cmd, "messagemode <clcmd>"
On clcmd func, hook read_arg*. Then do some fancy tricks. (if i got whatchu said)
__________________
Relaxing is offline
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 04-15-2018 , 00:18   Re: [HELP] Read 10 integers from client
Reply With Quote #5

Quote:
Originally Posted by Relaxing View Post
Basically create a clcmd.
Same for the menu.
Then on menu handler execute from client_cmd, "messagemode <clcmd>"
On clcmd func, hook read_arg*. Then do some fancy tricks. (if i got whatchu said)
I already did that.
I just want to know that how do i find the length of that digits.

I think strlen() doesnt do what i want!
__________________

Last edited by CrAzY MaN; 04-15-2018 at 00:19.
CrAzY MaN is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-15-2018 , 03:05   Re: [HELP] Read 10 integers from client
Reply With Quote #6

Strlen(string)
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-15-2018 at 03:06.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 04-15-2018 , 03:50   Re: [HELP] Read 10 integers from client
Reply With Quote #7

Delete this thread plz
__________________
CrAzY MaN 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 16:33.


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