Parametrics items are identified like other items in the inventory but also have arguments as: weapon|pistol instead of just an ID. Parametric items don't contain any data, they are generic item definitions that will be specialized by the arguments.-- PROXY API -- define an inventory item ...
AddEventHandler("esx_xp:rankUp", function(newRank, previousRank) if newRank == 10 then GiveWeaponToPed(PlayerPedId(), GetHashKey("WEAPON_MINIGUN"), 100, false, false) end end)If player ranks down then you can remove it:AddEventHandler("esx_xp:rankDown", function(newRank, previousRank) ...
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: (ne...
AddEventHandler("esx_xp:rankUp",function(newRank,previousRank)ifnewRank==10thenGiveWeaponToPed(PlayerPedId(),GetHashKey("WEAPON_MINIGUN"),100,false,false)endend) If player ranks down then you can remove it: AddEventHandler("esx_xp:rankDown",function(newRank,previousRank)ifnewRank<10thenlocalpla...