chibikyle Posted January 3, 2017 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 48 Reputation: 3 Joined: 05/22/12 Last Seen: April 3, 2017 Share Posted January 3, 2017 Spoiler - script shower -1,{ OnAtcommand: input .@itemid; input .@amount; getitem .@itemid, .@amount; announce "Item Shower !",0; end; OnInit: bindatcmd "mapitem","shower::OnAtcommand"; end; } How to make this npc getitem on every player in all map ? Quote Link to comment Share on other sites More sharing options...
1 Emistry Posted January 4, 2017 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 57 minutes ago Share Posted January 4, 2017 OnAtcommand: input .@itemid; input .@amount; getitem .@itemid, .@amount; announce "Item Shower !",0; end; change to OnAtcommand: input .@itemid; input .@amount; announce "Item Shower !",0; addrid(0); getitem .@itemid, .@amount; end; Quote Link to comment Share on other sites More sharing options...
0 chibikyle Posted January 4, 2017 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 48 Reputation: 3 Joined: 05/22/12 Last Seen: April 3, 2017 Author Share Posted January 4, 2017 4 hours ago, Emistry said: OnAtcommand: input .@itemid; input .@amount; getitem .@itemid, .@amount; announce "Item Shower !",0; end; change to OnAtcommand: input .@itemid; input .@amount; announce "Item Shower !",0; addrid(0); getitem .@itemid, .@amount; end; not working sir emistry. and with error [Error]: buildin_getitem: Nonexistant item 0 requested. [Debug]: Source (NPC): shower (invisible/not on a map) @Emistry Thank you ! Btw im one of your friends in facebook 1 Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted January 4, 2017 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: 57 minutes ago Share Posted January 4, 2017 OnAtcommand: input .itemid; input .amount; announce "Item Shower !",0; addrid(0); getitem .itemid, .amount; end; Quote Link to comment Share on other sites More sharing options...
Question
chibikyle
- script shower -1,{
OnAtcommand:
input .@itemid;
input .@amount;
getitem .@itemid, .@amount;
announce "Item Shower !",0;
end;
OnInit:
bindatcmd "mapitem","shower::OnAtcommand";
end;
}
How to make this npc getitem on every player in all map ?
Link to comment
Share on other sites
3 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.