• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Broadcast when player donates

nanok

Senoria.sytes.net
Joined
Jul 9, 2009
Messages
39
Reaction score
1
Location
Sweden
Hello there!

Like it says in the title, i would like a script that gives an broadcast announcement when someone donates via Zaypay. For example someone donates and in my database i get in my vapus_payment "paid" and then it is broadcastes in the sever like: player one has donated and helped out community!
 
go to data>globalevents>scripts>shop.lua
find this line:
Lua:
doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.')
after this past this:
Lua:
doBroadcastMessage("" .. getCreatureName(cid) .. " has donated and helped out community!")
 
Back
Top