PAYMENTS

In-game payment handling.

Availability: Server-only

Methods


PAYMENTS.giveKR

server

Give KR (in-game currency) to a player

Signature: action(obj, num)

Parameters:

NameTypeDescription
playerobjThe player object to reward
valnumAmount of KR to give (must be positive)
GAME.PAYMENTS.giveKR(player, 100);