Raised This Month: $ Target: $400
 0% 

Saving in NVault ? Cant?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-11-2010 , 19:32   Re: Saving in NVault ? Cant?
Reply With Quote #2

Retard, from glancing at the code make these corrections and see if you still have a problem. I will look into it further if you still have issues.
PHP Code:
cmd_ChangeRule(idkey

PHP Code:
cmd_ChangeRule(id, const key[] ) 
And
PHP Code:
public ShowRuleidkey )
{
    
//Read 2 items that that are saved in the same entry
    //Example: RULE-1 "HELP ME!"

    
new szData[8];
    new 
szKey[40];

    
formatexszKey 39 "%s" key );

    
//If data was found
    
if ( nvault_getrrm_Rules szKey szData ) )
    {
        
ColorChat(idGREEN"%s^x01 Rule^x03 %s:^x01 %s"PLUGIN_PREFIXszKeyszData);
    }
    else
    {
        
ColorChat(idGREEN"%s^x01 Rule^x03 %s:^x01 Wasn't found, make a new Entry!"PLUGIN_PREFIXkey);
    }    


PHP Code:
public ShowRuleid, const szKey[] )
{
    
//Read 2 items that that are saved in the same entry
    //Example: RULE-1 "HELP ME!"

    
new szData[8];
    
    
//If data was found
    
if ( nvault_getrrm_Rules szKey szData ) )
    {
        
ColorChat(idGREEN"%s^x01 Rule^x03 %s:^x01 %s"PLUGIN_PREFIXszKeyszData);
    }
    else
    {
        
ColorChat(idGREEN"%s^x01 Rule^x03 %s:^x01 Wasn't found, make a new Entry!"PLUGIN_PREFIXszKey);
    }    

__________________

Last edited by Bugsy; 05-11-2010 at 19:38.
Bugsy 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:41.


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