herpanda Posted January 26, 2018 Posted January 26, 2018 Can you help me to add @freebies @gpack @costumeitem commands. step by step if possible newbie developer here Thankyou Quote
0 pajodex Posted January 26, 2018 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
Question
herpanda
Can you help me to add @freebies @gpack @costumeitem commands. step by step if possible newbie developer here
Thankyou
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.