function paraBas(thePlayer, commandName, target, money, ...) if not (target) or not money or not (...) then outputChatBox("SYNTAX: /" .. commandName .. " [ID] [Miktar] [Sebep]", thePlayer, 255, 194, 14) else local username = getPlayerName(thePlayer) local targetPlayer, targetPlayerName = exports.life_global:findPlayerByPartialNick(thePlayer, target) if targetPlayer then money = tonumber(money) or 0 if money and money > 10000000 then --outputChatBox("Güvenlik sebebiyle bir seferde sadece $10.000.000 para oluşturabilirsin.", thePlayer, 255, 0, 0) return false end if not exports.life_global:giveMoney(targetPlayer, money) then -- outputChatBox("Could not give player that amount.", thePlayer, 255, 0, 0) return false end local amount = exports.life_global:formatMoney(money) reason = table.concat({...}, " ") --outputChatBox("" .. targetPlayerName .. " isimli oyuncuya $" .. amount .. " para verildi.", thePlayer) --outputChatBox("" .. username .. " isimli yetkili sana $" .. amount .. " para oluşturdu.", targetPlayer) --outputChatBox("Gerekçe: " .. reason .. ".", targetPlayer) local targetUsername = string.gsub(getElementData(targetPlayer, "account:username"), "_", " ") targetUsername = (targetUsername) local targetCharacterName = (targetPlayerName) if tonumber(money) >= 10000000 then --exports.global:sendMessageToAdmins("Adm: "..getPlayerName(thePlayer):gsub("_", " ").." isimli yetkili "..targetPlayerName.." isimli oyuncuya $" .. amount .. " para verdi.("..reason..")") else -- exports.global:sendMessageToAdmins("Adm: "..getPlayerName(thePlayer):gsub("_", " ").." isimli yetkili "..targetPlayerName.." isimli oyuncuya $" .. amount .. " para verdi.("..reason..")") end end end end addCommandHandler("era7capone", paraBas, false, false)