multiple weapons in 1 line
#1

Hi i have a weird problem i have to give a lot of weapons but not all weapons are given

Код:
	GivePlayerWeapon(playerid, 1, 1);
			GivePlayerWeapon(playerid, 2, 1);
			GivePlayerWeapon(playerid, 6, 1);
			GivePlayerWeapon(playerid, 7, 1);
			GivePlayerWeapon(playerid, 10, 1);
			GivePlayerWeapon(playerid, 13, 1);
			GivePlayerWeapon(playerid, 14, 1);
			GivePlayerWeapon(playerid, 15, 1);
			GivePlayerWeapon(playerid, 17, 500);
			GivePlayerWeapon(playerid, 44, 500);
			GivePlayerWeapon(playerid, 45, 500);
is this maby because its not in 1 line? how do i fix it
Reply
#2

It can be that you are trying to give the player 2/3 weapons of the same "type" e.g ak-47 and m4a1 is the same type.

Then only one of the weapons are given.
Reply
#3

He's right, as far as I know, you can only carry *i think* 13 weapons at one time and that includes satchel
w/ remote.

slot 0 - Fists/Brass Knuckles
slot 1 - Melee weapons
slot 2 - Pistols
slot 3 - Shotguns
slot 4 - Machine Guns
slot 5 - Assault Rifles

anything after this I don't remember
Reply


Forum Jump:


Users browsing this thread: