First of all u have to have GoldCup in your server... then all u need to do it add this to NpcTalk.cs
This is a good release for donaters.. u cannot get that amount of cps.. so no one will have it.. but if u donate to the server and get the cps.. and buy it.. it will show that u donated... etc..
I MADE THIS FROM SCRATCH SO GIVE ME SOME CREDIT PLEASE,
QUESTION : How do I make cps save in CoEmu.. if i sell a DB for 215 cps.. it gives me the cps.. but if i relog... I dont have that 215 Cps.. Where can I fix that?
This is a good release for donaters.. u cannot get that amount of cps.. so no one will have it.. but if u donate to the server and get the cps.. and buy it.. it will show that u donated... etc..
I MADE THIS FROM SCRATCH SO GIVE ME SOME CREDIT PLEASE,
QUESTION : How do I make cps save in CoEmu.. if i sell a DB for 215 cps.. it gives me the cps.. but if i relog... I dont have that 215 Cps.. Where can I fix that?
Code:
case 47: //GoldPrize Rewarder - CODED BY imported_spitt_fire911 { if (LinkBack == 0) { Text("I can sell you items!, So I suggest donating to obtian the CP for these items.", CSocket); Link("Buy a GoldCup for 500,000 CPs.", 1, CSocket); Link("No Thank You", 255, CSocket); End(CSocket); } else if (LinkBack == 1) //Gold Cup if (CSocket.Client.CPs >= 500000) { CPs(-500000, CSocket); AddItem(2100075, 0, 0, 0, 0, 0, 0, 0, 0, CSocket); } else { Text("How dare you, You do not have the CPs!", CSocket); Link("Sorry!", 255, CSocket); End(CSocket); } break; }