Garry's Mod

Garry's Mod

SCP Inventory Keycard Version
Maxime66410 2019년 6월 23일 오전 7시 06분
[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
Maxime66410 님이 마지막으로 수정; 2019년 6월 23일 오전 7시 54분