test = createPickup ( 258.69, 107.70, 1003.23, 2, 22, 1) setElementInterior (test, 10)
addEventHandler ( "onPickupHit", test, function ( hitElement )
if ( getElementType ( hitElement ) == "player" ) then
local konto = getAccountName ( getPlayerAccount ( thePlayer ) )
if isObjectInACLGroup ("user."..konto, aclGetGroup ( "Policja" ) ) then
giveWeapon ( hitElement, 22, 50 ) end end end )