So I've made a ConCommand for spawning a jeep but admin only :
[CODE]concommand.Add( "jw_jeep_spawn",function( ply,args )
if !ply:IsSuperAdmin() then
print( ply:Nick().." tried to spawn a Combat Jeep but he isn't a superadmin !" )
return end
if args[1]=="multi" then
jeep = ents.Create("combat_jeep1")
jeep:SetPos(ply:GetPos() + Vector(0,50,0))
jeep:Spawn()
jeep:Activate()
print( ply:Nick().." spawned a Multi Combat Jeep !" )
elseif args[1]=="single" then
jeep = ents.Create("combat_jeep2")
jeep:SetPos(ply:GetPos() + Vector(0,50,0))
jeep:Spawn()
jeep:Activate()
print( ply:Nick().." spawned a Single Combat Jeep !" )
end
end, nil, "This command simply spawn the desired Combat Jeep type near you." )[/CODE]
But this doesn't work for some reason.
And yes I'm a superadmin since i'm running a listen server.