Hello, I really need your help, I'm doing a project and I would like to request an initial npc or a function, which every 60000 milleseconds, (1 minute), would delete an item from the char inventory that had logged in, of course only when he is logged in, I made a smallpiquena progamation for this, but it did not work
Question
cder
Hello, I really need your help, I'm doing a project and I would like to request an initial npc or a function, which every 60000 milleseconds, (1 minute), would delete an item from the char inventory that had logged in, of course only when he is logged in, I made a smallpiquena progamation for this, but it did not work
function script pegaritem { getcharid(0); if(getcharid(0)){ attachrid(getcharid(3)); end; } else{ if(attachrid(getcharid(3))){ OnTimer60000: delitem 502,1; end; } } }
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.