herpanda Posted January 26, 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 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 Author Share Posted February 13, 2018 Thankyou so much sir Quote Link to comment Share on other sites More sharing options...
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