Raised This Month: $ Target: $400
 0% 

how do i make a=b?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-12-2009 , 07:40   how do i make a=b?
Reply With Quote #1

Code:
  

    read_argv(2, minutes, 7)

    new length = str_to_num(minutes);
    new maxl[31] = "40000";
    new maxlength = str_to_num(maxl);

    if ( length == 0  || length > maxlength )
    {
        minutes[7] = maxl[7];
        set_task(2.0, "TaskDisconnectPlayer", player)
    }
    else
    {
        set_task(2.0, "TaskDisconnectPlayer", player)
    }
    
    return PLUGIN_HANDLED
looks like my condition works but it can't do minutes = maxl

Last edited by Owyn; 01-12-2009 at 10:14.
Owyn is offline
Send a message via ICQ to Owyn
 


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 01:41.


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