Jump to content

buying weapons not replacing current weapon though same slot?


Bean666

Recommended Posts

Hello how do I make weapons that has different ammos? since some players can exploit weapon shop, EX: player buys a lot cheaper uzis then buys just 1 round of mp5, all uzi bullets get replaced with mp5 rounds, how do I prevent that from happening? What functions do I need to use? thanks!,

edit: nvm it still does, how to fix this? especially with the SMGs

Edited by Shaman123
Link to post

You will have to script it trough like 

player buy ammo for uzi > save data;

player buy mp5 > save uzi ammo data to account > delete smg ammo > load smg ammo data for mp5;

and so on and so forth for all weapons.

good luck

  • Like 1
Link to post
38 minutes ago, Tekken said:

You will have to script it trough like 

player buy ammo for uzi > save data;

player buy mp5 > save uzi ammo data to account > delete smg ammo > load smg ammo data for mp5;

and so on and so forth for all weapons.

good luck

that's what I thought but I was too lazy for it, I just asked here to see if would be an easier way, anyway thanks!

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...