Weapon Prices change - 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: Weapon Prices change (
/showthread.php?tid=332480)
Weapon Prices change -
Unknown1195 - 08.04.2012
Hey guys I am doing a Raven's role-play edit and I am finding diffucilty to understand how to change the weapon prices:
Код:
else if (strcmp(gunid, "TEC-9", true, strlen(gunid)) == 0)
{
gun = 32;
guncharge = GunPrice[16][0]/100*mod2;
ammocharge = GunPrice[35][0]*ammo;
}
Tec-9 Costs - 2000$ // 20 Ammo costs 2600$
Re: Weapon Prices change -
Boooth - 08.04.2012
search for "GunPrice[][]", see what that gets you.
Re: Weapon Prices change -
Faisal_khan - 08.04.2012
Do Ctrl + F and find GunPrice[16][0] and GunPrice[35][0] change its value.
Re: Weapon Prices change -
Boooth - 08.04.2012
And you sir are incorrect.
How you didn't know there was mathematics involved is beyond me.
Re: Weapon Prices change -
Faisal_khan - 08.04.2012
Quote:
Originally Posted by Boooth
And you sir are incorrect.
How you didn't know there was mathematics involved is beyond me.
|
arghhh!!!
Код:
This forum requires that you wait 120 seconds between posts. Please try again in 91 seconds.
Is my english poor or I dont get what you are trying to say :P