Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
[Help] Ammo System
julian12it
Little Clucker
Posts: 13
Threads: 4
Joined: Jul 2010
Reputation:
0
#1
27.06.2012, 06:53
I have a SA-MP Script that has Infinite Ammo. I've tried searching for everything but I don't know where to change the ammo amount. I'm in need of help please.
Find
Reply
Kindred
High-roller
Posts: 1,253
Threads: 36
Joined: Aug 2011
Reputation:
0
#2
27.06.2012, 06:55
You've obviously not searched enough.
Example:
pawn Код:
GivePlayerWeapon
(
playerid,
26
,
500
)
;
Third variable is ammo. If you don't want infinite ammo, change this variable to something else.
That's basically all that you need to fix if you don't want infinite ammo (if not incorrect).
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 2 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help