Raised This Month: $ Target: $400
 0% 

Run time error 5: memory access


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
taheri6
Member
Join Date: Mar 2006
Old 01-07-2008 , 13:41   Re: Run time error 5: memory access
Reply With Quote #6

Would it be better to remove the first call as a function and make that as a set_task instead?

change to

PHP Code:
public Ult_Entangle id 


    if ( !
Ult_Can_Use idSKILLIDX_ENTANGLE ) ) 
    { 
        return 
PLUGIN_HANDLED
    } 

    if ( 
is_user_alive id ) && is_user_connectedid ) && !issearching[id] && !ultimateused[id] ) 
    { 
        new 
parm[2]; 
        
parm[0] = id
        
parm[1] = ULTIMATESEARCHTIME
        
set_task 0.1"Task_Search_Event_Entangle"TASK_ULTIMATE_ENTANGLE_SEARCH idparm);
        
//Task_Search_Event_Entangle ( parm );  //Set_Task instead
    


    return 
PLUGIN_CONTINUE

__________________
http://www.yaur.com -=[Yaur]=- Clan Website

Last edited by taheri6; 01-07-2008 at 13:59.
taheri6 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 11:11.


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