Garry's Mod

Garry's Mod

SCP Inventory Keycard Version
Maxime66410 23 Jun, 2019 @ 7:06am
[resolved] Code problem jobs
PlayerSpawn = function(ply)
if ( SERVER ) then
ply:CreateSCPInventory()
ply:SCP_Inventory_GiveLoadout( "card_lvl_1" )
end
end

I wonder why when I do that, I get this result in the console, and that does not give me the keycard

Attempted to create unknown entity type none!
NULL Ent in GiveNamedItem!

Can someone help me?

resolved !
is :

if ( SERVER ) then
ply:SCP_Inventory_GiveLoadout( "ent_fak", "ent_hazmat_suit", "card_lvl_4" )
end
end
Last edited by Maxime66410; 23 Jun, 2019 @ 7:54am