ZP Ammo packs automatically

Forumas specialiai skirtas pamokoms kuriant CS 1.6 serverį
Post Reply
Kenzy
Jau po truputį tampa savu
Posts: 106
Joined: 2017 Jan 22 20:41

ZP Ammo packs automatically

Post by Kenzy »

Hello
i have this plugin for save ammo packs
I want to know how to change this plugin to give someone ammo packs and not on the server zp, I mean automatically.
I think giving ammo packs on phpymyadmin / database or something else.
please can you help me ?

https://forums.alliedmods.net/showthrea ... 1?t=121541

Sveiki,
aš tai įskiepį išsaugoti šoviniai pakuotes
Aš noriu žinoti, kaip pakeisti šią įskiepiai duoti kažkam ammo paketai ir ne serveryje zp, aš turiu galvoje automatiškai.
Manau, kad duoti ammo paketus phpymyadmin / duomenų bazės ar dar kažkas.
prašome galite man padėti ?

User avatar
likux35
Ar jis surinks 50 žinučių?
Posts: 41
Joined: 2015 May 29 22:41
Skype: likux35
Contact:

Re: ZP Ammo packs automatically

Post by likux35 »

Kenzy wrote:Hello
i have this plugin for save ammo packs
I want to know how to change this plugin to give someone ammo packs and not on the server zp, I mean automatically.
I think giving ammo packs on phpymyadmin / database or something else.
please can you help me ?

https://forums.alliedmods.net/showthrea ... 1?t=121541

Sveiki,
aš tai įskiepį išsaugoti šoviniai pakuotes
Aš noriu žinoti, kaip pakeisti šią įskiepiai duoti kažkam ammo paketai ir ne serveryje zp, aš turiu galvoje automatiškai.
Manau, kad duoti ammo paketus phpymyadmin / duomenų bazės ar dar kažkas.
prašome galite man padėti ?
Hello,

This plugin already using SQL (MySQL) database and saving player's packs and you, as an administrator, can give packs to players using this command:

Code: Select all

zp_bank_set <name or #userid> <+ or ->amount
What's the problem?

Kenzy
Jau po truputį tampa savu
Posts: 106
Joined: 2017 Jan 22 20:41

Re: ZP Ammo packs automatically

Post by Kenzy »

yes i know this commend, but i want give ammo packs and i am not on server
this commend is gives ammo packs even if person not in game, yes right.
but i want give a person and i am not in server !!
understand me :D ?

User avatar
likux35
Ar jis surinks 50 žinučių?
Posts: 41
Joined: 2015 May 29 22:41
Skype: likux35
Contact:

Re: ZP Ammo packs automatically

Post by likux35 »

Kenzy wrote:yes i know this commend, but i want give ammo packs and i am not on server
this commend is gives ammo packs even if person not in game, yes right.
but i want give a person and i am not in server !!
understand me :D ?
Like amx_bandisconnectedmenu which can add ammo packs instead ban? Wouldn't easier for you just edit via phpmyadmin data?

Kenzy
Jau po truputį tampa savu
Posts: 106
Joined: 2017 Jan 22 20:41

Re: ZP Ammo packs automatically

Post by Kenzy »

likux35 wrote:
Kenzy wrote:yes i know this commend, but i want give ammo packs and i am not on server
this commend is gives ammo packs even if person not in game, yes right.
but i want give a person and i am not in server !!
understand me :D ?
Like amx_bandisconnectedmenu which can add ammo packs instead ban? Wouldn't easier for you just edit via phpmyadmin data?
Yeah, like that.

I don't know how to do it by phpmyadmin, because it's still unclear how to do it.
Please can you explain to me more about the ammo packs donated and as I can give and I'm not on the server by phpmyadmin or something like that.

-- 2019 Mar 01 13:13 --

look this plugin is can give ammo pack if person not in game, but i must be in game for give !!
i want know how change it for give and i am not in game its about php or something like else.

Code: Select all

 *say commands*deposit, send, store <amount/all>                //deposites stated amount in bank account            withdraw, take, retrieve <amount/all>            //retrieves stated amount from bank account mybank, account, bank <blank/name of person>    //if second parameter is left blank, states how many ap you have in your account                                                //if second parameter is specified it attempts to give a status on the said person's account upgrade account                                    //will give a warning about what a advanced account does, after which person must say "advanced account" again to advance   *server commands*zp_give_packs <steamid not name> <amount>    //gives ammo packs even if person not in gamezp_bank_amount <name/steamid>                //same as bank say command, but works from server consolezp_reset_bank <time>                         //will prune database by time based in days. time 0 = clean all    *cvars copy/paste into your zombieplague.cfg file*zp_bank 1                            //plugin on or off?zp_bank_auto 0                        //0 = no auto save, 1 = auto save, 2 = auto save + auto withdraw all on connectzp_bank_blockstart 0                //if set we strip ammo packs zp gives when client first connects if they have an open bank accountzp_bank_upgradable 1                //advanced accounts availalbe?zp_bank_cost 1000                    //cost to advance an accountzp_bank_interest 0.03                //interest earned every x(zp_bank_clock) minuteszp_bank_clock 60                    //think is done in 1 minute intervals so 60 = 1 hrzp_bank_transfee 3                    //fee applied each time ammo packs are stored  
-- 2019 Mar 01 20:08 --

I want a php code that access the database directly and add ammos to specific player wich i can use a form using steamID and amount of ammos to edit it directly from database
it will be really good to set the php page with a password
Attachments
zp_bank.sma
(25.64 KiB) Downloaded 635 times
Last edited by Kenzy on 2019 Mar 01 11:01, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests