Jump to content

[DELETED]Comanda de a da banii tuturor jucatoriilor Online


IanisFiveM
 Share

Recommended Posts

RegisterCommand("givemoneyall", function(player, args)
    local user_id = vRP.getUserId({player})
    if args[1] ~= nil then
        if vRP.hasGroup({user_id,"Fondator"}) then
            giveallmoney(args[1])
            local stuff = "[^1Bonus^0] Se pare ca admin-ul : ^1"..GetPlayerName(player).." ^0a dat un bonus de : ^1"..tonumber(args[1]).."$ ^0tuturor jucatorilor"
            TriggerClientEvent('chat:addMessage', -1, {template = '<div style="float:left;text-align:left;width: 88.7%;height:auto;word-wrap: break-word;padding: 0.5vw; margin: 0.2vw; background-image: linear-gradient(to right, rgba(41, 41, 41, 0.6), rgba(150, 40, 27, 0.2)); border-radius: 1px;"><i class="fas fa-globe"></i>{0}</div>',args = { stuff}})
        end
    end
end)

function giveallmoney(suma)
    local jucatori = vRP.getUsers({})
    for i,v in pairs(jucatori) do
        vRP.giveMoney({i,suma})
    end
end

create-and-edit-a-fivem-trailer-for-you.gif

Numele meu este Ianis si locuiesc in Drobeta Turnu Severin de 1 an lucrez ca si scripter de FiveM daca sunteti interesati sa va jucati pe un server de fivem bine pus la punct va astept pe server-ul meu de discord https://discord.com/invite/KXrwdcrSBC  si acolo pe un canal aveti ip server eu am fost ianis si va urez o  zii minunata.

giphy.gif

Link to comment
Share on other sites

  • 1 year later...
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...