--------------------Problem with weapon bullets------------------------------ - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: --------------------Problem with weapon bullets------------------------------ (
/showthread.php?tid=559513)
--------------------Problem with weapon bullets------------------------------ -
Mijata - 23.01.2015
why player have for this weapon 150 bullets
Код:
GivePlayerWeapon(playerid,25,50);
Код:
case 2:
{
if(GetPlayerScore(playerid) < 300) return SendClientMessage(playerid,0xFF0000,"You must have at least 300 score to play in this class!"),ShowPlayerDialog(playerid,DIALOG_CLASS,DIALOG_STYLE_LIST,"Class selection:","Assault\nSniper(100 score required)\nClose range(300 score required)\nPyroman(500 score required)\nBig killer(1000 score required)","Choose","");
GivePlayerWeapon(playerid,24,100);
GivePlayerWeapon(playerid,4,1);
GivePlayerWeapon(playerid,16,1);
GivePlayerWeapon(playerid,27,100);
GivePlayerWeapon(playerid,25,50);
}
Re: --------------------Problem with weapon bullets------------------------------ -
Remba031 - 23.01.2015
Because you give player a weapon of the same type.
Weapon ID 27 - Combat Shotgun(100)
Weapon ID 25 - Shotgun(50)