SA-MP Forums Archive
[Include] [INC] Weapon Save - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] Weapon Save (/showthread.php?tid=57627)



[INC] Weapon Save - JesterX - 09.12.2008

Hello scripters!
Here is my first public work. Please value it.
Excuse me for bad English.
Information: This include creates the database with weapon of player before death or disconnect, and gives it at spawn.
Example: ...server/scriptfiles/JesterX.Weapons.txt

Slot0=0
AmmoSlot0=1
Slot1=3
AmmoSlot1=1
Slot2=24
AmmoSlot2=600
Slot3=0
AmmoSlot3=0
Slot4=0
AmmoSlot4=0
Slot5=0
AmmoSlot5=0
Slot6=0
AmmoSlot6=0
Slot7=0
AmmoSlot7=0
Slot8=0
AmmoSlot8=0
Slot9=0
AmmoSlot9=0
Slot10=0
AmmoSlot10=0
Slot11=0
AmmoSlot11=0

Download: http://depositfiles.com/files/1thprw8m0



Re: [INC] Weapon Save - julian - 09.12.2008

Pictures?,Information? Where are all of them?. I'm not going to use it until somebody scans it. Post pictures and Features..


Re: [INC] Weapon Save - Zoopaman - 09.12.2008

Quote:
Originally Posted by julian
Pictures? Post pictures
what'd you want to see? picture of notepad?
Quote:
Originally Posted by julian
and Features..
Quote:
Originally Posted by JesterX
Information: This include creates the database with weapon of player before death or disconnect, and gives it at spawn.
Example: ...server/scriptfiles/JesterX.Weapons.txt
I think the "This include creates the database with weapon of player before death or disconnect, and gives it at spawn." part makes it pretty clear.

One thing is missing tho: pastebin link
And isn't this really a FS?


Re: [INC] Weapon Save - solid snake_dream - 10.12.2008

it doesnt make a player name file automatically

for example (mark.weapons.txt)
i must do it manually

can fix it ?


Re: [INC] Weapon Save - matafakas - 17.01.2009

Quote:
Originally Posted by JesterX
Hello scripters!
Here is my first public work. Please value it.
Excuse me for bad English.
Information: This include creates the database with weapon of player before death or disconnect, and gives it at spawn.
Example: ...server/scriptfiles/JesterX.Weapons.txt

Slot0=0
AmmoSlot0=1
Slot1=3
AmmoSlot1=1
Slot2=24
AmmoSlot2=600
Slot3=0
AmmoSlot3=0
Slot4=0
AmmoSlot4=0
Slot5=0
AmmoSlot5=0
Slot6=0
AmmoSlot6=0
Slot7=0
AmmoSlot7=0
Slot8=0
AmmoSlot8=0
Slot9=0
AmmoSlot9=0
Slot10=0
AmmoSlot10=0
Slot11=0
AmmoSlot11=0

Download: http://depositfiles.com/files/1thprw8m0
Sorry but this is an epic fail, first of all you must make it when a player uses the command "/register" it must create at .txt file... Second you have to share the #include <dini> (dini) file so it will work. This is a half share...


Re: [INC] Weapon Save - Kanji_Suzuki - 25.02.2009

looks nice im going to try it out


Re: [INC] Weapon Save - ]shizz[ - 25.02.2009

That's quite good for a beginner, though you could save them like:
weapon1=38|100

That would give a minigun (ID 3 as first weapon with 100 bullets. You could part it and strval() it.


Re: [INC] Weapon Save - Kanji_Suzuki - 18.03.2009

if this is a .inc way is in a pwn file


Re: [INC] Weapon Save - ]NM[TheShadow - 18.03.2009

hm good
could be optimized a bit but its good


Re: [INC] Weapon Save - Ignas1337 - 17.05.2009

Im gald I can direct sume f***ing noobs to thos post so they don't shit for me