[Release][ES] Weapon Store [v1.1]

press enter inside the shop is not in english where do i edit that? nevermind found it in line 221

can some one plz convert this to 3.0

1 Like

(sorry for my english…)
Hello, thx for the script !

Did you succeed to delete the weapon in the DB when the player die?
I am beginner, but I try to do it myself with your weashop, I think we can use like giveweapon but with Delete in the sql line ?

With this, player will pay attention to not die so its great for RP server.

can u make a 3.0 version too ill really appreciate it

For now, I still learn CouchDB… I need to store the weapons like a table. I don’t know how to do that yet.
All the other scripts in 3.0 use 1 data document for 1 player… I need to store 6 weapons for 1 player. But I don’t know if making 6 documents it will work to get the weapons back.

I am blocked I would like to delete the weapons when we die of the database but my mysql request does not pass I wanted to know it is correct or not thanks?

MySQL:executeQuery(“DELETE FROM user_weapons WHERE identifier = ‘@identifier’”, { [’@ID’] = ID, [’@identifier’] = identifier, [’@weapon_model’] = weapon_model, [’@withdraw_cost’] = withdraw_cost})

1 Like

Did you found how to remove the weapon ?

1 Like

Hello sorry i have not had the temp to do other test, i am alone and we have not answered my question

If you found the solution I need it too, I want people lose their weapons when they die.

I’m facing an issue, people loose their weapon in game but they are still in the database, any idea to solve this ? thanks !

I will work on it this evening. I was trying to get this mod in the couchDB but guess I will finish the sql version first.

2 Likes

Hey sorry to bother you, but do you have any news about the way to delete weapons when you die ?
Cuz I was trying to do the same stuff as the others which means do a DELETE request but it doesn’t work :confused:

Still no news, we must wait for the next update these can be long and for my part it causes conflicts with other script … We will wait in hopes of speed

Hello do you know how to fix when im buying a gun its taking the money but its not giving me the gun …

im getting this when i add the sql to the DB not sure exactly what to change or do http://imgur.com/a/fJLBT

you can remove the contraint in the SQL. someone pushed that update… Not sure why he did that, but on mysql this bugs pretty hard everytime :smiley:

FR: Sa peut vous paraitre bizard mais j’aimerais savoir comment faire pour que quand j’achete une arme et bien quand je deco je ne l’ai plus et si il est possible de mettre une permission au shop Exemple uniquement le job 3 puisse y avoir acces.

EN: Its may seem bizard but I would like to know how to do that when I buy a weapon and well when I deco I no longer have it and if it is possible to put a permission to the shop Example only the job 3 can be there access.

just remove some server save to db

OK it’s ok I got it thanks

How to remove withdraw cost ? Because, i want the player to retrieve weapons without cost ?