botter1234
Member
- Joined
- Jun 20, 2008
- Messages
- 103
- Reaction score
- 7
This works guys, Thank you Cykotitan, please dont forget to Rep+ Cykotitan
basically using this function you can set the attributes of the item in items.xml, then create a script that only allows them to use the item with certain skills or hp etc...
then this will add the stats
======================================
Okay so I've tried a little bit of everything and cant seem to find a way to move items without deleting and remaking them in a different area, is there a function to automatically just move the item to your bag? or depot?
basically I want for server to check the player for a storage value, if that value greater than the players storage value then to move item to bag
I cannot just make the item have a script in movements because lua does not support the item attributes that we use in our server
Any ideas? so far I've basically created a globalevent that checks the players slots for the itemids and and if the player is wearing it and they are not high enough rebirth then it deletes it and puts it in their bag
check out callFunction(cid, item.uid, slot, boolean)
remember to include boolean in function onEquip arguments
basically using this function you can set the attributes of the item in items.xml, then create a script that only allows them to use the item with certain skills or hp etc...
then this will add the stats
======================================
Okay so I've tried a little bit of everything and cant seem to find a way to move items without deleting and remaking them in a different area, is there a function to automatically just move the item to your bag? or depot?
basically I want for server to check the player for a storage value, if that value greater than the players storage value then to move item to bag
I cannot just make the item have a script in movements because lua does not support the item attributes that we use in our server
Any ideas? so far I've basically created a globalevent that checks the players slots for the itemids and and if the player is wearing it and they are not high enough rebirth then it deletes it and puts it in their bag
Last edited: