Skip to content

minobear/esx_giveallplayers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

This is a simple plugin You can give all players item or weapon or money with command

also you can setting auto give time in config to all players

In Game Commands:

/giveallitem <item> <count>
/giveallweapon <weapon> <amount>
/addallmoney <account> <amount>

On Console Commands: (need changed prefix to “_”)

_giveallitem <item> <count> 
_giveallweapon <weapon> <ammo amount>
_addallmoney <account> <amount>

Config:

Config.AllowAdminInGameCommand = true -- Commands: /giveallitem <item> <count>, /giveallweapon <weapon> <ammo amount>, /addallmoney <account> <amount>
Config.EnableServerCommand = true -- you can using command on console to give. but command prefix need changed to "_", example: _giveallitem, _giveallweapon, _addallmoney

-- how many minutes to give. if don't want, you can type false
Config.TimeGiveItem = 30
Config.TimeGiveMoney = false 
Config.TimeGiveWeapon = false

Config.Items = {
	{name = 'water', count = 1},
--	{name = 'bread', count = 2}
}

Config.Money = {
	{account = 'bank', amount = 500},
 	{account = 'money', amount = 500},
--	{account = 'black_money', amount = 100}
}

Config.Weapon = {
	{weaponName = 'WEAPON_PISTOL', amount = 10}, -- amount is ammo count
--	{weaponName = 'WEAPON_FIREEXTINGUISHER', amount = 2000}
}

https://forum.cfx.re/t/release-esx-give-all-players-item-or-money/1027386

About

FiveM give all players item or money

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages