19.04.2015, 15:29
(
Последний раз редактировалось Sc0pion; 29.06.2015 в 06:17.
)
Fixed!
#define MAX_WEPS 20
new Wep[MAX_WEPS][MAX_PLAYERS];
new ammo[MAX_WEPS][MAX_PLAYERS];
On player death
for (new i = 0; i != sizeof(MAX_WEPS); i++)
{
GetPlayerWeaponData(playerid, i, Wep[i][playerid], ammo[i][playerid]);
}
on player spawn
for (new i = 0; i != sizeof(MAX_WEPS); i++)
{
GivePlayerWeapon(playerid,Wep[i][playerid], ammo[i][playerid]);
}