AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Small help Edit Plugin (https://forums.alliedmods.net/showthread.php?t=133333)

manafi 07-24-2010 10:16

Small help Edit Plugin
 
1 Attachment(s)
hi guys,someone can help me,how delete/off AP Auto Save Function?

Bugsy 07-24-2010 10:26

Re: Small help Edit Plugin
 
Quote:

Originally Posted by manafi (Post 1250064)
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); 


manafi 07-24-2010 10:41

Re: Small help Edit Plugin
 
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 =)

Bugsy 07-24-2010 10:59

Re: Small help Edit Plugin
 
This ?

Warning: Symbol is never used: "save_data"

Just delete or comment the entire save_data function.

manafi 07-24-2010 11:14

Re: Small help Edit Plugin
 
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 =)

Bugsy 07-24-2010 11:17

Re: Small help Edit Plugin
 
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?

manafi 07-24-2010 11:21

Re: Small help Edit Plugin
 
hm ok,then how i can off Auto Deposit Pack's in bank if player Disconnect?

Bugsy 07-24-2010 11:47

Re: Small help Edit Plugin
 
Quote:

Originally Posted by manafi (Post 1250108)
hm ok,then how i can off Auto Deposit Pack's in bank if player Disconnect?

I'm lost as to what your asking.

manafi 07-24-2010 12:05

Re: Small help Edit Plugin
 
In this plugin if player left from a server,all AP what have player automatically deposit in player bank , i need OFF this function.

Bugsy 07-24-2010 12:42

Re: Small help Edit Plugin
 
Quote:

Originally Posted by manafi (Post 1250144)
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?


All times are GMT -4. The time now is 00:10.

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