[FilterScript] Saveable Player Attachments
#1

Savable Player Attachments


This script is based on the attachments script by h02 which is included in 0.3e server pack.


What is added here?
- It now saves the players attached objects in mysql database, all 10 slots (R7 required for the cache functions).
- The objects are always saved, but you can take them off when you dont want them on the player and you can put them back on player later by chosing 'Wear/take off one of your items' in /playerobjects.
- All 10 player attachments (that is enabled) are automaticly set when player spawns

Pictures:

Main menu (/playerobjects)


Player has added objects in slot 0,1 and 2. All 3 are enabled and will be put on player on spawn, by clicking on one of theese 3 items, they will be disabled and wont appear when player spawn until they are enabled again.


In this menu player can add or replace an object in one of their slots.
The edit items menu looks exactly the same but with possibility to permanently delete an item.


If any bugs is found, you can report it in this thread and i will fix whenever i got time.

What is needed to compile this?
Includes: a_samp, zcmd and a_mysql

Made for 0.3e and later versions.
BlueG's mysql R7 plugin is required for this script to run.
No, i wont make a .ini version of this. (i never really used it for anything)

Download:
.amx: http://localhostr.com/DjfuauBppxhR
.pwn: http://localhostr.com/1UgnISDsBpWB
Pastebin: http://pastebin.com/y0R8Tes4
Reply
#2

EDIT : Sorry, i'm not read the description first
Reply
#3

What do you mean?
Reply
#4

Very Nice If It Works!!!!
Suckish if it doesnt :P
Testing now
Reply
#5

got something with ini
Reply
#6

can you make it in strcmp and dini?
Reply
#7

SERVER:Unknown Command

How to fix it ?
Reply
#8

That's perfect. Congratulations on your efforts.

Note - Well done.

#March
Reply
#9

SERVER:Unknown Command
Reply
#10

Quote:
Originally Posted by sun14
Посмотреть сообщение
SERVER:Unknown Command
change return value from
pawn Код:
return 1;
to:
pawn Код:
return 0;
hope it will not come
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)