[Include] [INC] Weapon Save
#1

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
Reply
#2

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

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?
Reply
#4

it doesnt make a player name file automatically

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

can fix it ?
Reply
#5

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...
Reply
#6

looks nice im going to try it out
Reply
#7

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.
Reply
#8

if this is a .inc way is in a pwn file
Reply
#9

hm good
could be optimized a bit but its good
Reply
#10

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


Forum Jump:


Users browsing this thread: 2 Guest(s)