Saveable Player Attachments -
Richie© - 14.01.2013
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
Re: Saveable Player Attachments -
ProPoint - 15.01.2013
EDIT : Sorry, i'm not read the description first
Re: Saveable Player Attachments -
Richie© - 15.01.2013
What do you mean?
Re: Saveable Player Attachments -
fanta291327 - 17.01.2013
Very Nice If It Works!!!!
Suckish if it doesnt :P
Testing now
Re: Saveable Player Attachments -
AMEENAMEEN - 22.01.2013
got something with ini
Re: Saveable Player Attachments -
kepa333 - 03.02.2013
can you make it in strcmp and dini?
Re: Saveable Player Attachments -
sun14 - 04.02.2013
SERVER:Unknown Command
How to fix it ?
Re: Saveable Player Attachments -
Alvon - 05.02.2013
That's perfect. Congratulations on your efforts.
Note - Well done.
#March
Re: Saveable Player Attachments -
sun14 - 07.02.2013
SERVER:Unknown Command
Re: Saveable Player Attachments -
Anak - 07.02.2013
Quote:
Originally Posted by sun14
SERVER:Unknown Command
|
change return value from
to:
hope it will not come