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
Help Archive
Linear Mode
Save weapons if a player disconnected
Clavius
Big Clucker
Posts: 143
Threads: 2
Joined: Feb 2008
Reputation:
0
#2
02.09.2009, 20:58
You need to loop through all 13 slots of weapons, get the weapon data for each, check if weaponid is not 0, and then save the weapon id and ammo to a file.
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
Save weapons if a player disconnected
- by
Battlaman
- 02.09.2009, 19:56
Re: Save weapons if a player disconnected
- by
Clavius
- 02.09.2009, 20:58
Re: Save weapons if a player disconnected
- by
Battlaman
- 03.09.2009, 06:33
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: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive