Wrong ammo - 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: Wrong ammo (
/showthread.php?tid=611678)
Wrong ammo -
MRM - 09.07.2016
hello,
server give wrong ammo.how to fix it?
give the player weapon id 29 with 1000 ammo and weapon id 22 with 100 ammo
pawn Код:
GivePlayerWeapon(playerid,29,500);
GivePlayerWeapon(playerid,31,400);
GivePlayerWeapon(playerid,22,50);
SetCameraBehindPlayer(playerid);
Fixed.Problem :
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle,
weapon1,
weapon1_ammo,
weapon2,
weapon2_ammo,
weapon3,
weapon3_ammo)
Re: Wrong ammo -
DTV - 09.07.2016
pawn Код:
GivePlayerWeapon(playerid,29,1000);
GivePlayerWeapon(playerid,31,400);
GivePlayerWeapon(playerid,22,100);
SetCameraBehindPlayer(playerid);
Is this what you're asking for?