π§Tutorials
These tutorials will walk you through all the options available.
Last updated
Was this helpful?
These tutorials will walk you through all the options available.
Last updated
Was this helpful?
Was this helpful?
-- COMMAND
-- WARNING: THIS COMMAND IS AVAILABLE FOR EVERYONE BY DEFAULT, CHANGE THE CODE BELOW TO ONLY ALLOW CERATIN PEOPLE TO CALL THE AIRDROP!
if Config.AirdropSpawnMethod['command_enabled'] then
RegisterCommand("airdrop", function(source, args, rawCommand)
local xPlayer = Framework.GetPlayerFromId(source)
if (xPlayer.group == 'superadmin' or xPlayer.group == 'admin' or xPlayer.group == 'mod') then
createNewAirdrop({type = "command", src = source, arg = args})
end
end)
end