herpanda Posted January 26, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 1 Joined: 09/22/15 Last Seen: April 28, 2018 Share Posted January 26, 2018 Can you help me to add @freebies @gpack @costumeitem commands. step by step if possible newbie developer here Thankyou Quote Link to comment Share on other sites More sharing options...
0 pajodex Posted January 26, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.03 Content Count: 439 Reputation: 173 Joined: 12/12/17 Last Seen: April 14 Share Posted January 26, 2018 (edited) - script command#freebies -1,{ OnInit: // This part binds "freebies" as atcommand. bindatcmd("freebies",strnpcinfo(0)+"::OnCommand"); end; OnCommand: // This part tells your players that he got his freebies If(GetFree) { mes "You have received your rewards"; close; } else { // This part if players didnt get his freebies yet mes "Welcome! Here are your freebies"; close2: set GetFree,1; // To avoid abuse, Set GetFree variable to 1 getitem 501,1; // Items received by the player in this case, 1 red potion (ItemID 501) you can add more by adding getitem <ITEMID>,<AMOUNT>; below end; } } Do the same for gpack and costumeitem(if it means to get a free costume item) 1 hour ago, herpanda said: Can you help me to add @freebies @gpack @costumeitem commands. step by step if possible newbie developer here Thankyou Edited January 26, 2018 by pajodex corrected the script Quote Link to comment Share on other sites More sharing options...
0 herpanda Posted February 13, 2018 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 2 Reputation: 1 Joined: 09/22/15 Last Seen: April 28, 2018 Author Share Posted February 13, 2018 Thankyou so much sir Quote Link to comment Share on other sites More sharing options...
Question
herpanda
Can you help me to add @freebies @gpack @costumeitem commands. step by step if possible newbie developer here
Thankyou
Link to comment
Share on other sites
2 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.