Raised This Month: $ Target: $400
 0% 

Small help Edit Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
manafi
Senior Member
Join Date: Jun 2009
Old 07-24-2010 , 10:16   Small help Edit Plugin
Reply With Quote #1

hi guys,someone can help me,how delete/off AP Auto Save Function?
Attached Files
File Type: sma Get Plugin or Get Source (zp_bank_name_nodonate.sma - 532 views - 8.0 KB)
manafi is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-24-2010 , 10:26   Re: Small help Edit Plugin
Reply With Quote #2

Quote:
Originally Posted by manafi View Post
hi guys,someone can help me,how delete/off AP Auto Save Function?
Comment out these lines in client_disconnect()

PHP Code:
if (bankstorage[id] > 0)
    
save_data(id); 
__________________
Bugsy is offline
manafi
Senior Member
Join Date: Jun 2009
Old 07-24-2010 , 10:41   Re: Small help Edit Plugin
Reply With Quote #3

I seem to me I do that not correctly,because if i try compile that i get error.

If at you is a few free time can you make it and upload here, pls =)))

thx

=====
sry, bad eng =)
manafi is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-24-2010 , 10:59   Re: Small help Edit Plugin
Reply With Quote #4

This ?

Warning: Symbol is never used: "save_data"

Just delete or comment the entire save_data function.
__________________
Bugsy is offline
manafi
Senior Member
Join Date: Jun 2009
Old 07-24-2010 , 11:14   Re: Small help Edit Plugin
Reply With Quote #5

Quote:
This ?

Warning: Symbol is never used: "save_data"
Yes

save_data(id) this?

If i comment or delete this function,save will work? I need off only Auto save if player disc =)
manafi is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-24-2010 , 11:17   Re: Small help Edit Plugin
Reply With Quote #6

Nothing will save if you delete the save function. The only save feature in this plugin is auto-save. How do you want to save?
__________________
Bugsy is offline
manafi
Senior Member
Join Date: Jun 2009
Old 07-24-2010 , 11:21   Re: Small help Edit Plugin
Reply With Quote #7

hm ok,then how i can off Auto Deposit Pack's in bank if player Disconnect?
manafi is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-24-2010 , 11:47   Re: Small help Edit Plugin
Reply With Quote #8

Quote:
Originally Posted by manafi View Post
hm ok,then how i can off Auto Deposit Pack's in bank if player Disconnect?
I'm lost as to what your asking.
__________________
Bugsy is offline
manafi
Senior Member
Join Date: Jun 2009
Old 07-24-2010 , 12:05   Re: Small help Edit Plugin
Reply With Quote #9

In this plugin if player left from a server,all AP what have player automatically deposit in player bank , i need OFF this function.
manafi is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-24-2010 , 12:42   Re: Small help Edit Plugin
Reply With Quote #10

Quote:
Originally Posted by manafi View Post
In this plugin if player left from a server,all AP what have player automatically deposit in player bank , i need OFF this function.
So you have no need to save or do you want to save manually?
__________________
Bugsy 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 00:10.


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