Weapon Saving Problem:
#1

Hi, I am having a problem with my weapon saving system.

I spawned myself a Desert Eagle with 30 ammo. I logged out of the game and then I logged back in. When I spawned, I noticed my Desert Eagle had 60 ammo.


The function:
pawn Код:
public GivePlayerWeaponEx(playerid, weapon, ammo)
The code that spawns Desert Eagles:
pawn Код:
case 22, 23, 24:
        {
            Player[playerid][WepSlot2] = weapon;
            Player[playerid][WepAmmo2] = ammo;
            GivePlayerWeapon(playerid, weapon, ammo);
        }
So, my problem is with my weapon saving system. My ammo system is bugged. My ammo for my guns duplicate. I am using dini, and Vortex Roleplay 1 script. Any suggestions?
Reply


Messages In This Thread
Weapon Saving Problem: - by Sledge - 19.12.2011, 19:49
Re: Weapon Saving Problem: - by sleepysnowflake - 19.12.2011, 19:53
Re: Weapon Saving Problem: - by Sledge - 19.12.2011, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)