weapon problem rep + -
oscar7610 - 24.04.2012
pawn Код:
AddPlayerClass(272,1968.1708,1623.3397,12.8613,266.9504,30,200,31,200,8,1);
AddPlayerClass(46,1968.5464,1620.2056,12.8793,269.1438,30,200,31,200,8,1);
AddPlayerClass(98,1969.0598,1625.9105,12.8443,269.1438,30,200,31,200,8,1);
He is only spawning with the katana and ak not 3 weapons only 2.
Re: weapon problem rep + -
oscar7610 - 24.04.2012
pawn Код:
AddPlayerClass(272,1968.1708,1623.3397,12.8613,266.9504,2,1,3,1,4,1);
Only spawning with the 1st one.
Re: weapon problem rep + -
Jikesh - 24.04.2012
Quote:
Originally Posted by oscar7610
pawn Код:
AddPlayerClass(272,1968.1708,1623.3397,12.8613,266.9504,2,1,3,1,4,1);
Only spawning with the 1st one.
|
Weapon ID 2 , 3 and 4 lies in Slot 1. This means that you can only have one weapon from each slot.
Also refer here:
https://sampwiki.blast.hk/wiki/Weapons
Re: weapon problem rep + -
Jikesh - 24.04.2012
Quote:
Originally Posted by oscar7610
pawn Код:
AddPlayerClass(272,1968.1708,1623.3397,12.8613,266.9504,30,200,31,200,8,1); AddPlayerClass(46,1968.5464,1620.2056,12.8793,269.1438,30,200,31,200,8,1); AddPlayerClass(98,1969.0598,1625.9105,12.8443,269.1438,30,200,31,200,8,1);
He is only spawning with the katana and ak not 3 weapons only 2.
|
Weapon ID 31 and Weapon ID 30 lies in the same slot which is Slot number 5.
You can have only one weapon ID from each slot
Re: weapon problem rep + -
oscar7610 - 24.04.2012
Quote:
Originally Posted by jikesh_jus
Weapon ID 31 and Weapon ID 30 lies in the same slot which is Slot number 5.
You can have only one weapon ID from each slot
|
so how Can i correct it? rep +
Re: weapon problem rep + -
Jows - 24.04.2012
you can use SetSpawnInfo
try
https://sampwiki.blast.hk/wiki/SetSpawnInfo
Re: weapon problem rep + -
[swat]dragon - 24.04.2012
you must change the weapon type.
refer to
https://sampwiki.blast.hk/wiki/Weapons to see weapons list
in simple words, you can't use 2 weapons from the same slot. (like weaponid 30 and weaponid 31)
Respuesta: weapon problem rep + -
[DOG]irinel1996 - 24.04.2012
You can't use Weapon ID 30 and 31 at same time. Because both need the same slot. Take a look here:
https://sampwiki.blast.hk/wiki/Weapons
Mmm, you can change them with other weapon, Weapon IDs 2, 3, 4 need the slot 1. So each slot support one weapon. You have to choose what weapon do you want.
For example this will give you:
-One knife (Knife ID = 4 | Uses slot 1)
-A MP5 with 100 bullets. (MP5 ID = 29 | Uses slot 4)
-A AK-47 with 200 bullets. (AK-47 ID = 30 | Uses slot 5)
pawn Код:
AddPlayerClass(272,1968.1708,1623.3397,12.8613,266.9504,4,1,29,100,4,1);
Finally, for example you can't get the AK-47 and the M4 at same time because they're of the same class and each one needs the same slot, so each slot, support just one weapon.
Best regards, I hope you understand.
Re: weapon problem rep + -
oscar7610 - 24.04.2012
Thanks all rep + thanks.
Im having a problem when spawning sometimes I get different weapons.
Il try use setspawninfo
Re: weapon problem rep + -
oscar7610 - 24.04.2012
all rep + thx guys