23.05.2014, 17:39
System for saving weapons duplicate the ammo .. :S
here is gamemode... http://pastebin.com/iwUg3Mmd
here is gamemode... http://pastebin.com/iwUg3Mmd
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon1], pInfo[playerid][Wep1Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon2], pInfo[playerid][Wep2Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon3], pInfo[playerid][Wep3Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon4], pInfo[playerid][Wep4Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon5], pInfo[playerid][Wep5Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon1], pInfo[playerid][Wep1Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon2], pInfo[playerid][Wep2Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon3], pInfo[playerid][Wep3Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon4], pInfo[playerid][Wep4Ammo]);
GivePlayerWeapon(playerid, pInfo[playerid][Weapon5], pInfo[playerid][Wep5Ammo]);
Try this (line 427):
pawn Код:
pawn Код:
EDIT: Did you even read the pastebin? |