Raised This Month: $ Target: $400
 0% 

Only Numbers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dragos
Senior Member
Join Date: Oct 2018
Location: Romania
Old 02-20-2021 , 15:05   Only Numbers
Reply With Quote #1

Hello,

I'm pretty sure it was a function like this.

So, It check If the entered words contain only numbers, no words

PHP Code:
new szArg[192];
    
read_argsszArgcharsmaxszArg ) );
    
remove_quotesszArg );
    new 
ids str_to_num(szArg)
    
    if(
ids == 0) {
        
culoare(id"!g[!tSYSTEM!g] !tWe Accept Only Numbers")
        return 
PLUGIN_HANDLED;
    } 
If I write like 123456 it block me
But If I type 123456A, it allow him and pass next
__________________
sup

Last edited by Dragos; 02-20-2021 at 15:05.
Dragos is offline
 



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 03:48.


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